diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-08-25 09:29:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 09:29:03 -0400 |
commit | fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d (patch) | |
tree | 06249cd6d0df4cbc5d32ff4056eccdfd899ccab3 /libpod/networking_linux.go | |
parent | 23f9565547ae2a6b0154e6913abf7f1232f0ece0 (diff) | |
parent | 4b2dc48d0bcde9d9dccb05f829019a52f3eddec7 (diff) | |
download | podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.tar.gz podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.tar.bz2 podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.zip |
Merge pull request #11314 from Luap99/expose-ports
podman inspect show exposed ports
Diffstat (limited to 'libpod/networking_linux.go')
-rw-r--r-- | libpod/networking_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go index 2ed2bb01b..dbe2274d3 100644 --- a/libpod/networking_linux.go +++ b/libpod/networking_linux.go @@ -1015,7 +1015,7 @@ func (c *Container) getContainerNetworkInfo() (*define.InspectNetworkSettings, e } settings := new(define.InspectNetworkSettings) - settings.Ports = makeInspectPortBindings(c.config.PortMappings) + settings.Ports = makeInspectPortBindings(c.config.PortMappings, c.config.ExposedPorts) networks, isDefault, err := c.networks() if err != nil { |