mirror of https://github.com/containers/podman.git
Merge pull request #4232 from csomh/auth-file-path
Fix default path for auth.json
This commit is contained in:
commit
50b18847a6
|
|
@ -21,7 +21,7 @@ func GetAuthFile(authfile string) string {
|
|||
}
|
||||
|
||||
if runtimeDir, err := util.GetRuntimeDir(); err == nil {
|
||||
return filepath.Join(runtimeDir, "auth.json")
|
||||
return filepath.Join(runtimeDir, "containers/auth.json")
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue