Commit c32e1961 by Stephen Paul Suarez Committed by James Cammarata

fix typo

parent 67821f01
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment