mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-18 01:58:13 +00:00
default self.yes to False
This commit is contained in:
parent
7336281fe2
commit
adbdf17cba
@ -478,6 +478,8 @@ class ServicesManager(BaseComposeManager):
|
|||||||
self.wait_timeout = parameters['wait_timeout']
|
self.wait_timeout = parameters['wait_timeout']
|
||||||
if self.compose_version >= LooseVersion('2.32.0'):
|
if self.compose_version >= LooseVersion('2.32.0'):
|
||||||
self.yes = parameters['assume_yes']
|
self.yes = parameters['assume_yes']
|
||||||
|
else:
|
||||||
|
self.yes = False
|
||||||
|
|
||||||
for key, value in self.scale.items():
|
for key, value in self.scale.items():
|
||||||
if not isinstance(key, string_types):
|
if not isinstance(key, string_types):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user