aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-28 14:26:43 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-28 15:17:00 -0500
commit517bc28360ba6417d5333720f03f010514862ec3 (patch)
tree0bd8db7e573aad64d2687f047e6606e8c8df77f0 /pkg
parent23be7b50490ac01c31af3266490276dd46ec23c3 (diff)
downloadpodman-517bc28360ba6417d5333720f03f010514862ec3.tar.gz
podman-517bc28360ba6417d5333720f03f010514862ec3.tar.bz2
podman-517bc28360ba6417d5333720f03f010514862ec3.zip
system tests must pass
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/infra/abi/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go
index 286d37c34..4c3389418 100644
--- a/pkg/domain/infra/abi/containers.go
+++ b/pkg/domain/infra/abi/containers.go
@@ -949,7 +949,7 @@ func (ic *ContainerEngine) Config(_ context.Context) (*config.Config, error) {
func (ic *ContainerEngine) ContainerPort(ctx context.Context, nameOrId string, options entities.ContainerPortOptions) ([]*entities.ContainerPortReport, error) {
var reports []*entities.ContainerPortReport
- ctrs, err := getContainersByContext(options.All, false, []string{nameOrId}, ic.Libpod)
+ ctrs, err := getContainersByContext(options.All, options.Latest, []string{nameOrId}, ic.Libpod)
if err != nil {
return nil, err
}