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
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-21 15:22:15 -0400
commit17ba396494bfa2720341cbf3eaecec068e82f71a (patch)
tree3495e12de55dcaad7ec1b5ebd0fe13ce6f2f4e65 /cmd/podman/registry/config.go
parente5b3563a897395030c5714ac014bbad79f24ede9 (diff)
downloadpodman-17ba396494bfa2720341cbf3eaecec068e82f71a.tar.gz
podman-17ba396494bfa2720341cbf3eaecec068e82f71a.tar.bz2
podman-17ba396494bfa2720341cbf3eaecec068e82f71a.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 a7e368115..f5a231172 100644
--- a/cmd/podman/registry/config.go
+++ b/cmd/podman/registry/config.go
@@ -44,11 +44,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)