Commit 404bd11b authored by qhoangxuan's avatar qhoangxuan

Fix port instead of port_number

parent 44f7fd64
......@@ -90,7 +90,7 @@ class OldSwarmBackend(zoe_master.backends.base.BaseBackend):
for port in service.ports:
if port.expose:
for volume in service.volumes:
if volume.type == "host_directory":
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