Only split on the first colon.

Fixes #1214
reviewable/pr18780/r1
Toshio Kuratomi 10 years ago
parent 78de8bbd99
commit e95c0b2df3

@ -528,7 +528,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

Loading…
Cancel
Save