From 2660bbee8f7951e6a8177147fe37dbd4b3bf34cc Mon Sep 17 00:00:00 2001 From: gong yong sheng Date: Wed, 14 Sep 2016 10:46:04 +0800 Subject: [PATCH] Call filter_images before save dependencies save_dependency function needs the image status which is set by filter_images. Change-Id: I7aa097c94d59de9389d8a53babe63d8b991a6e23 Closes-bug: 1623291 --- kolla/image/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kolla/image/build.py b/kolla/image/build.py index 09fa14288e..b400dbf9a4 100644 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -944,6 +944,7 @@ def run_build(): if conf.save_dependency: kolla.build_image_list() kolla.find_parents() + kolla.filter_images() kolla.save_dependency(conf.save_dependency) LOG.info('Docker images dependency are saved in %s', conf.save_dependency)