docker: fix volume[s]_from typo
Code makes reference to volume_from instead of volumes_from. If volumes_from is passed as an argument, generates a KeyError.pull/4420/head
parent
1dc2ae0aef
commit
88d5f15025
|
@ -467,7 +467,7 @@ class DockerManager(object):
|
||||||
# server APIVersion is passed to a docker-py function that takes strings
|
# server APIVersion is passed to a docker-py function that takes strings
|
||||||
_cap_ver_req = {
|
_cap_ver_req = {
|
||||||
'dns': ((0, 3, 0), '1.10'),
|
'dns': ((0, 3, 0), '1.10'),
|
||||||
'volume_from': ((0, 3, 0), '1.10'),
|
'volumes_from': ((0, 3, 0), '1.10'),
|
||||||
'restart_policy': ((0, 5, 0), '1.14'),
|
'restart_policy': ((0, 5, 0), '1.14'),
|
||||||
# Clientside only
|
# Clientside only
|
||||||
'insecure_registry': ((0, 5, 0), '0.0')
|
'insecure_registry': ((0, 5, 0), '0.0')
|
||||||
|
|
Loading…
Reference in New Issue