rebuild docker containers if there are less ports exposed
(cherry picked from commit cb3026f769
)
This commit is contained in:
parent
e42b4a266b
commit
bf94109ade
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ class Container(DockerBaseClass):
|
|||
self.log("comparing lists: %s" % key)
|
||||
set_a = set(getattr(self.parameters, key))
|
||||
set_b = set(value)
|
||||
match = (set_a <= set_b)
|
||||
match = (set_a == set_b)
|
||||
elif isinstance(getattr(self.parameters, key), dict) and isinstance(value, dict):
|
||||
# compare two dicts
|
||||
self.log("comparing two dicts: %s" % key)
|
||||
|
|
Loading…
Reference in a new issue