Fix broken save,list images/dependencies options
It's sorta required to actually build the image list (and strucutre) to make any of these commands do anything. TrivalFix Change-Id: Ib601bd4d2cc84af6d35a8623b77f9b512124d2ad
This commit is contained in:
parent
100e4aba62
commit
43a38c179a
@ -920,14 +920,19 @@ def run_build():
|
||||
kolla.set_time()
|
||||
|
||||
if conf.save_dependency:
|
||||
kolla.build_image_list()
|
||||
kolla.find_parents()
|
||||
kolla.save_dependency(conf.save_dependency)
|
||||
LOG.info('Docker images dependency are saved in %s',
|
||||
conf.save_dependency)
|
||||
return
|
||||
if conf.list_images:
|
||||
kolla.build_image_list()
|
||||
kolla.list_images()
|
||||
return
|
||||
if conf.list_dependencies:
|
||||
kolla.build_image_list()
|
||||
kolla.find_parents()
|
||||
kolla.list_dependencies()
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user