mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
Switch to containers/common for seccomp
The seccomp/containers-golang library is not maintained any more and we should stick to containers/common. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
10
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
Normal file
10
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
import "os"
|
||||
|
||||
func customConfigFile() (string, error) {
|
||||
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
|
||||
return path, nil
|
||||
}
|
||||
return os.Getenv("APPDATA") + "\\containers\\containers.conf", nil
|
||||
}
|
||||
Reference in New Issue
Block a user