diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-07-21 15:21:52 -0400 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-08-28 18:24:09 +0200 |
commit | e17cd49a78eb3f1db11b9051e910bf5167727eb0 (patch) | |
tree | d820aa9f3b99e92a8b33ebc4d3c1d740fb0b371a | |
parent | c78c6b44ce63430218e141415a10b2010d42f883 (diff) | |
download | podman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.tar.gz podman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.tar.bz2 podman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.zip |
Enable --remote flag
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rw-r--r-- | cmd/podman/registry/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/registry/config.go b/cmd/podman/registry/config.go index ea33e3a4e..667c87f28 100644 --- a/cmd/podman/registry/config.go +++ b/cmd/podman/registry/config.go @@ -45,11 +45,12 @@ func newPodmanConfig() { case "linux": // Some linux clients might only be compiled without ABI // support (e.g., podman-remote). - if abiSupport && !remoteOverride { + if abiSupport && !IsRemote() { mode = entities.ABIMode } else { mode = entities.TunnelMode } + default: fmt.Fprintf(os.Stderr, "%s is not a supported OS", runtime.GOOS) os.Exit(1) |