Kaydet (Commit) 92c9a89f authored tarafından Joffrey F's avatar Joffrey F

naming

üst 39597476
...@@ -118,7 +118,7 @@ def convert_port_bindings(port_bindings): ...@@ -118,7 +118,7 @@ def convert_port_bindings(port_bindings):
def convert_volume_binds(binds): def convert_volume_binds(binds):
result = [] result = []
for k, v in binds.items(): for k, v in binds.items():
if isinstance(d, dict): if isinstance(v, dict):
result.append('%s:%s:%s' % ( result.append('%s:%s:%s' % (
k, v['bind'], 'ro' if v.get('ro', False) else 'rw' k, v['bind'], 'ro' if v.get('ro', False) else 'rw'
)) ))
......
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