diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-04-16 16:42:33 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-04-16 16:49:59 -0700 |
commit | 554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f (patch) | |
tree | 215280684ce6195fac64f18ebd7d29c5baa376cc /cmd/podman/registry/remote.go | |
parent | 0d2b5532c417c58bd24e71a56c5c55b43e423a59 (diff) | |
download | podman-554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f.tar.gz podman-554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f.tar.bz2 podman-554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f.zip |
Fix bug where two configurations had been created
* registry.PodmanConfig() new returns a pointer to the source of truth
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/registry/remote.go')
-rw-r--r-- | cmd/podman/registry/remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/registry/remote.go b/cmd/podman/registry/remote.go index 5378701e7..95870750e 100644 --- a/cmd/podman/registry/remote.go +++ b/cmd/podman/registry/remote.go @@ -5,5 +5,5 @@ import ( ) func IsRemote() bool { - return PodmanOptions.EngineMode == entities.TunnelMode + return podmanOptions.EngineMode == entities.TunnelMode } |