mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fix spacing
This commit is contained in:
@@ -361,7 +361,7 @@ class DockerManager:
|
|||||||
# with bind mode
|
# with bind mode
|
||||||
elif len(parts) == 3:
|
elif len(parts) == 3:
|
||||||
if parts[2] not in ['ro', 'rw']:
|
if parts[2] not in ['ro', 'rw']:
|
||||||
self.module.fail_json(msg='bind mode needs to either be "ro" or "rw"')
|
self.module.fail_json(msg='bind mode needs to either be "ro" or "rw"')
|
||||||
ro = parts[2] == 'ro'
|
ro = parts[2] == 'ro'
|
||||||
self.volumes[parts[1]] = {}
|
self.volumes[parts[1]] = {}
|
||||||
self.binds[parts[0]] = {'bind': parts[1], 'ro': ro}
|
self.binds[parts[0]] = {'bind': parts[1], 'ro': ro}
|
||||||
|
|||||||
Reference in New Issue
Block a user