From d6ffe9aa0db75bc3f340bd394a40bfcb4a8be875 Mon Sep 17 00:00:00 2001 From: bin liu Date: Fri, 11 Nov 2016 20:18:08 +0800 Subject: [PATCH] fix JSON key typo, it should not be underscores, but should be camelCase with first letter capital Signed-off-by: bin liu --- docker/types/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/types/services.py b/docker/types/services.py index 2ac47ebd..a95e0f2c 100644 --- a/docker/types/services.py +++ b/docker/types/services.py @@ -94,7 +94,7 @@ class Mount(dict): if labels: volume_opts['Labels'] = labels if driver_config: - volume_opts['driver_config'] = driver_config + volume_opts['DriverConfig'] = driver_config if volume_opts: self['VolumeOptions'] = volume_opts if propagation: