summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-09-15 01:58:06 +0200
committerJoffrey F <joffrey@docker.com>2015-09-15 01:58:06 +0200
commit1b798a29017d1a1e124d469b35f54391ff40d632 (patch)
tree2dc9251a349d2107254626f785de1e88c6a03d2d /docker
parentee7292a463439e92f11a0461d580ab4d29f7c25d (diff)
downloaddocker-py-1b798a29017d1a1e124d469b35f54391ff40d632.tar.gz
GroupAdd tests
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/utils/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index 6084efb..a251341 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -514,7 +514,7 @@ def create_host_config(
raise errors.InvalidVersion(
'group_add param not supported for API version < 1.20'
)
- host_config['GroupAdd'] = [str(grp) for grp in group_add]
+ host_config['GroupAdd'] = [six.text_type(grp) for grp in group_add]
if dns is not None:
host_config['Dns'] = dns