parent
40d2932b5a
commit
2fac1fd865
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ class DockerManager:
|
||||||
if expose_list:
|
if expose_list:
|
||||||
exposed = []
|
exposed = []
|
||||||
for port in expose_list:
|
for port in expose_list:
|
||||||
port = port.strip()
|
port = str(port).strip()
|
||||||
if port.endswith('/tcp') or port.endswith('/udp'):
|
if port.endswith('/tcp') or port.endswith('/udp'):
|
||||||
port_with_proto = tuple(port.split('/'))
|
port_with_proto = tuple(port.split('/'))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue