aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-28 23:29:20 +0200
committerGitHub <noreply@github.com>2020-04-28 23:29:20 +0200
commitbf4efc1953467907ae7d75d5f3ef3cd41505ee24 (patch)
treef6743d64621b126ff5e5f92c46fa4e56d279f26b /pkg/domain
parentdcac908bbe879a8b0b453531252dddccf8690077 (diff)
parent517bc28360ba6417d5333720f03f010514862ec3 (diff)
downloadpodman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.tar.gz
podman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.tar.bz2
podman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.zip
Merge pull request #6026 from baude/v2forcesystemtests
system tests must pass
Diffstat (limited to 'pkg/domain')
-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
}