summaryrefslogtreecommitdiff
path: root/cmd/podman/registry/config.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-21 15:21:52 -0400
committerPaul Holzinger <paul.holzinger@web.de>2020-08-28 18:24:09 +0200
commite17cd49a78eb3f1db11b9051e910bf5167727eb0 (patch)
treed820aa9f3b99e92a8b33ebc4d3c1d740fb0b371a /cmd/podman/registry/config.go
parentc78c6b44ce63430218e141415a10b2010d42f883 (diff)
downloadpodman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.tar.gz
podman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.tar.bz2
podman-e17cd49a78eb3f1db11b9051e910bf5167727eb0.zip
Enable --remote flag
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/registry/config.go')
-rw-r--r--cmd/podman/registry/config.go3
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)