summaryrefslogtreecommitdiff
path: root/libpod/oci_internal_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-08-12 14:11:53 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2019-08-12 14:11:53 -0400
commitd27e71374e89b3c88b486f8a7015185c9fe13ea9 (patch)
tree45064631551c7aa2fb13dd6b08c3ac0e4547c344 /libpod/oci_internal_linux.go
parent9bee6907a5d867ab866374c6c7d8a45e3fa705da (diff)
downloadpodman-d27e71374e89b3c88b486f8a7015185c9fe13ea9.tar.gz
podman-d27e71374e89b3c88b486f8a7015185c9fe13ea9.tar.bz2
podman-d27e71374e89b3c88b486f8a7015185c9fe13ea9.zip
Use GetRuntimeDir to setup auth.json for login
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/oci_internal_linux.go')
-rw-r--r--libpod/oci_internal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_internal_linux.go b/libpod/oci_internal_linux.go
index e2c73f5ed..d1155cf3c 100644
--- a/libpod/oci_internal_linux.go
+++ b/libpod/oci_internal_linux.go
@@ -36,7 +36,7 @@ import (
func (r *OCIRuntime) createOCIContainer(ctr *Container, restoreOptions *ContainerCheckpointOptions) (err error) {
var stderrBuf bytes.Buffer
- runtimeDir, err := util.GetRootlessRuntimeDir()
+ runtimeDir, err := util.GetRuntimeDir()
if err != nil {
return err
}