aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorJoshua Harlow <jxharlow@godaddy.com>2016-06-29 17:52:05 -0700
committerJoshua Harlow <jxharlow@godaddy.com>2016-06-29 17:53:14 -0700
commit43a38c179a8f06216dbb3c3035910a5f9588defb (patch)
treeefece62ce5b9f9ea709d1cac535095896df0bbf4 /kolla
parent100e4aba622d8edfeccd5d50ee365e7df6e856db (diff)
downloadkolla-43a38c179a8f06216dbb3c3035910a5f9588defb.tar.gz
kolla-43a38c179a8f06216dbb3c3035910a5f9588defb.zip
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
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/image/build.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 626f5163e..99340fa9c 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -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