Update exposed ports mapping

Docker-DCO-1.1-Signed-off-by: Fernando Mayo <fernando@tutum.co> (github: fermayo)
This commit is contained in:
fermayo
2014-06-14 16:49:56 +02:00
committed by Aaron Feng
parent f795afc4c9
commit bef2da93ee

View File

@@ -157,7 +157,7 @@ func getContainersJSON(out beam.Sender, version version.Version, w http.Response
}
} else {
newport := port{
PublicPort: portnum,
PrivatePort: portnum,
Type: proto,
}
ports = append(ports, newport)