Merge pull request #4232 from csomh/auth-file-path

Fix default path for auth.json
This commit is contained in:
OpenShift Merge Robot
2019-10-11 18:08:25 +02:00
committed by GitHub

View File

@ -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 ""
}