release1.7.1
Stephen Paul Suarez 11 years ago committed by James Cammarata
parent 67821f0122
commit c32e1961c4

@ -361,7 +361,7 @@ class DockerManager:
# with bind mode
elif len(parts) == 3:
if parts[2] not in ['ro', 'rw']:
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'
self.volumes[parts[1]] = {}
self.binds[parts[0]] = {'bind': parts[1], 'ro': ro}

Loading…
Cancel
Save