[image-build] Remove dead code
There are no mounts when running image-build tasks in Koji. This looks like a copy-paste error. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
dc4d502f2a
commit
d85f00818d
@ -154,9 +154,6 @@ class CreateImageBuildThread(WorkerThread):
|
||||
def worker(self, num, compose, cmd):
|
||||
arches = cmd['image_conf']['arches'].split(',')
|
||||
|
||||
mounts = [compose.paths.compose.topdir()]
|
||||
if "mount" in cmd:
|
||||
mounts.append(cmd["mount"])
|
||||
log_file = compose.paths.log.log_file(
|
||||
cmd["image_conf"]["arches"],
|
||||
"imagebuild-%s-%s-%s" % ('-'.join(arches),
|
||||
|
Loading…
Reference in New Issue
Block a user