diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-05-14 11:30:17 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-05-14 13:35:59 -0700 |
commit | f587fa3ba383c62690320ebc4dfbd8b9d68a73ac (patch) | |
tree | eefcf33959150d2f79d6ec431679b4dbdf46658e /pkg/domain/infra/tunnel/helpers.go | |
parent | 77dbfc753097d4b3a07c1382cb388e79515ffdb0 (diff) | |
download | podman-f587fa3ba383c62690320ebc4dfbd8b9d68a73ac.tar.gz podman-f587fa3ba383c62690320ebc4dfbd8b9d68a73ac.tar.bz2 podman-f587fa3ba383c62690320ebc4dfbd8b9d68a73ac.zip |
Make convenience boxed true/false easier to use
* changed PFalse to &false
* changed PTrue to &true
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/helpers.go')
-rw-r--r-- | pkg/domain/infra/tunnel/helpers.go | 2 |
1 files changed, 1 insertions, 1 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 } |