mirror of https://github.com/docker/docker-py.git
fix JSON key typo, it should not be underscores, but should be camelCase with first letter capital
Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
parent
e1518bf2a7
commit
d6ffe9aa0d
|
@ -94,7 +94,7 @@ class Mount(dict):
|
||||||
if labels:
|
if labels:
|
||||||
volume_opts['Labels'] = labels
|
volume_opts['Labels'] = labels
|
||||||
if driver_config:
|
if driver_config:
|
||||||
volume_opts['driver_config'] = driver_config
|
volume_opts['DriverConfig'] = driver_config
|
||||||
if volume_opts:
|
if volume_opts:
|
||||||
self['VolumeOptions'] = volume_opts
|
self['VolumeOptions'] = volume_opts
|
||||||
if propagation:
|
if propagation:
|
||||||
|
|
Loading…
Reference in New Issue