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
commit 50b18847a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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