Move down the retrieval of the koji request field
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
41e886de5e
commit
1f7369cd86
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,6 @@ def main(msg):
|
|||
print('Skipping MBS builds')
|
||||
return
|
||||
|
||||
request = msg['request'][0]
|
||||
instance = msg['instance']
|
||||
if instance != 'primary':
|
||||
print("Ignoring secondary arch task...")
|
||||
|
@ -95,6 +94,7 @@ def main(msg):
|
|||
print('Talking to koji at: %s' % koji_url)
|
||||
koji_client = koji.ClientSession(koji_url)
|
||||
|
||||
request = msg['request'][0]
|
||||
build_id = msg['build_id']
|
||||
build = koji_client.getBuild(build_id)
|
||||
git_url = (
|
||||
|
|
Reference in a new issue