Recreate dependents when a dependency is created (not just when it's recreated).

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-11-06 12:29:52 -05:00
commit 7c2a16234f
2 changed files with 14 additions and 1 deletions

View file

@ -322,7 +322,7 @@ class Project(object):
name
for name in service.get_dependency_names()
if name in plans
and plans[name].action == 'recreate'
and plans[name].action in ('recreate', 'create')
]
if updated_dependencies and strategy.allows_recreate: