osbs: Fix wrong message in logs
We run a thread for each task, not one per variant. If there are multiple containers in a single variant, the logs contain confusing entries about starting the phase multiple times. 2019-02-28 01:58:54 ... [BEGIN] OSBS phase for variant Foo 2019-02-28 01:58:54 ... [BEGIN] OSBS phase for variant Foo Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
afd2d3ae66
commit
ef6bb20a0e
@ -67,7 +67,7 @@ class OSBSThread(WorkerThread):
|
|||||||
self.worker(compose, variant, config)
|
self.worker(compose, variant, config)
|
||||||
|
|
||||||
def worker(self, compose, variant, config):
|
def worker(self, compose, variant, config):
|
||||||
msg = 'OSBS phase for variant %s' % variant.uid
|
msg = 'OSBS task for variant %s' % variant.uid
|
||||||
self.pool.log_info('[BEGIN] %s' % msg)
|
self.pool.log_info('[BEGIN] %s' % msg)
|
||||||
koji = kojiwrapper.KojiWrapper(compose.conf['koji_profile'])
|
koji = kojiwrapper.KojiWrapper(compose.conf['koji_profile'])
|
||||||
koji.login()
|
koji.login()
|
||||||
|
Loading…
Reference in New Issue
Block a user