Merge "Relax needs_delete() filter" into stable/train

This commit is contained in:
Zuul 2020-02-07 21:25:02 +00:00 committed by Gerrit Code Review
commit 46d0f6532f
1 changed files with 0 additions and 7 deletions

View File

@ -109,13 +109,6 @@ class FilterModule(object):
to_delete += [c_name] to_delete += [c_name]
continue continue
# Remove containers managed by tripleo-ansible that aren't in
# config e.g. containers not needed anymore and removed by an
# upgrade. Note: we don't cleanup paunch-managed containers.
if c_name not in config:
to_delete += [c_name]
continue
for c_name, config_data in config.items(): for c_name, config_data in config.items():
# don't try to remove a container which doesn't exist # don't try to remove a container which doesn't exist
if c_name not in installed_containers: if c_name not in installed_containers: