From 2fac1fd865d309a867a1c3ebaa383f4802ad46fc Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 16 Sep 2014 21:38:49 -0500 Subject: [PATCH] Ensure port in docker expose list is a string Fixes #8731 --- cloud/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/docker b/cloud/docker index 57914bb79fe..a0a52ffc756 100644 --- a/cloud/docker +++ b/cloud/docker @@ -450,7 +450,7 @@ class DockerManager: if expose_list: exposed = [] for port in expose_list: - port = port.strip() + port = str(port).strip() if port.endswith('/tcp') or port.endswith('/udp'): port_with_proto = tuple(port.split('/')) else: