Merge pull request #292 from Luap99/fix-windows-conf

fix windows containers.conf path
This commit is contained in:
OpenShift Merge Robot 2020-08-26 04:52:52 -04:00 committed by GitHub
commit ab4bd84bac
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ func customConfigFile() (string, error) {
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
return path, nil
}
return os.Getenv("LOCALAPPDATA"), nil
return os.Getenv("APPDATA") + "\\containers\\containers.conf", nil
}