Only split on the first colon.

Fixes #1214
This commit is contained in:
Toshio Kuratomi
2015-04-28 08:33:26 -07:00
committed by Matt Clay
parent b5b34f6931
commit 4592b795d9

View File

@@ -536,7 +536,7 @@ class DockerManager(object):
self.lxc_conf = []
options = self.module.params.get('lxc_conf')
for option in options:
parts = option.split(':')
parts = option.split(':', 1)
self.lxc_conf.append({"Key": parts[0], "Value": parts[1]})
self.exposed_ports = None