Commit f44125cc by Eric D. White

Issue 8735 - module docker - expose values should be striped to ensure port forwarding works.

parent a419ffdf
......@@ -450,6 +450,7 @@ class DockerManager:
if expose_list:
exposed = []
for port in expose_list:
port = port.strip()
if port.endswith('/tcp') or port.endswith('/udp'):
port_with_proto = tuple(port.split('/'))
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment