mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-11 10:34:30 +08:00
Set the owner on Koji CG builds
This commit is contained in:
@@ -224,6 +224,10 @@ class KojiContentGenerator(object):
|
||||
}
|
||||
}
|
||||
}
|
||||
session = KojiModuleBuilder.get_session(self.config, None)
|
||||
# Only add the CG build owner if the user exists in Koji
|
||||
if session.getUser(self.owner):
|
||||
ret[u'owner'] = self.owner
|
||||
return ret
|
||||
|
||||
def _get_buildroot(self):
|
||||
|
||||
Reference in New Issue
Block a user