diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 23:14:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 23:14:47 +0200 |
commit | 1aac197f79e91b06ec7e948bd73bb2464e8a508f (patch) | |
tree | c3d9cf474b4d185814232ac78beee01ef608fa28 /cmd | |
parent | 9223b721b38c2605320be540e9abd501a351ed72 (diff) | |
parent | 17ba396494bfa2720341cbf3eaecec068e82f71a (diff) | |
download | podman-1aac197f79e91b06ec7e948bd73bb2464e8a508f.tar.gz podman-1aac197f79e91b06ec7e948bd73bb2464e8a508f.tar.bz2 podman-1aac197f79e91b06ec7e948bd73bb2464e8a508f.zip |
Merge pull request #7042 from rhatdan/remote
Enable --remote flag
Diffstat (limited to 'cmd')
-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 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) |