summaryrefslogtreecommitdiff
path: root/cmd/podman/registry
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-28 15:34:30 -0400
committerGitHub <noreply@github.com>2020-08-28 15:34:30 -0400
commit3ae1cd806c9125e48af08368e488ea39cd28256d (patch)
tree83820f2d2bab654b6fa9d2f3a2d619dd156b8267 /cmd/podman/registry
parent145a366d0f8cfd840855920b906b98c1988b7825 (diff)
parente17cd49a78eb3f1db11b9051e910bf5167727eb0 (diff)
downloadpodman-3ae1cd806c9125e48af08368e488ea39cd28256d.tar.gz
podman-3ae1cd806c9125e48af08368e488ea39cd28256d.tar.bz2
podman-3ae1cd806c9125e48af08368e488ea39cd28256d.zip
Merge pull request #7491 from Luap99/2.0-remoteflag
Enable --remote flag v2.0
Diffstat (limited to 'cmd/podman/registry')
-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)