summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-14 15:13:47 -0700
committerGitHub <noreply@github.com>2020-05-14 15:13:47 -0700
commit4611ff5ce4ff67a142363ab66e10944bfc40f860 (patch)
treed448ffcef5efca4eae3dfccbad291a849916dbfe /pkg/domain
parent0d9625152b9acf1dc7662e38f56aa5b106c4dfcd (diff)
parentf587fa3ba383c62690320ebc4dfbd8b9d68a73ac (diff)
downloadpodman-4611ff5ce4ff67a142363ab66e10944bfc40f860.tar.gz
podman-4611ff5ce4ff67a142363ab66e10944bfc40f860.tar.bz2
podman-4611ff5ce4ff67a142363ab66e10944bfc40f860.zip
Merge pull request #6236 from jwhonce/wip/boxed
Make convenience boxed true/false easier to use
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/infra/tunnel/helpers.go2
-rw-r--r--pkg/domain/infra/tunnel/images.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/tunnel/helpers.go b/pkg/domain/infra/tunnel/helpers.go
index 682d60d6a..09791a3b9 100644
--- a/pkg/domain/infra/tunnel/helpers.go
+++ b/pkg/domain/infra/tunnel/helpers.go
@@ -20,7 +20,7 @@ func getContainersByContext(contextWithConnection context.Context, all bool, nam
if all && len(namesOrIds) > 0 {
return nil, errors.New("cannot lookup containers and all")
}
- c, err := containers.List(contextWithConnection, nil, &bindings.PTrue, nil, nil, nil, &bindings.PTrue)
+ c, err := containers.List(contextWithConnection, nil, bindings.PTrue, nil, nil, nil, bindings.PTrue)
if err != nil {
return nil, err
}
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index eb25dc4a3..5a849d362 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -112,7 +112,7 @@ func (ir *ImageEngine) Tag(ctx context.Context, nameOrId string, tags []string,
func (ir *ImageEngine) Untag(ctx context.Context, nameOrId string, tags []string, options entities.ImageUntagOptions) error {
// Remove all tags if none are provided
if len(tags) == 0 {
- newImage, err := images.GetImage(ir.ClientCxt, nameOrId, &bindings.PFalse)
+ newImage, err := images.GetImage(ir.ClientCxt, nameOrId, bindings.PFalse)
if err != nil {
return err
}