diff options
Diffstat (limited to 'libkpod')
-rw-r--r-- | libkpod/hooks.go | 17 | ||||
-rw-r--r-- | libkpod/testdata/config.toml | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/libkpod/hooks.go b/libkpod/hooks.go index 681355bcf..26a9ee431 100644 --- a/libkpod/hooks.go +++ b/libkpod/hooks.go @@ -1,18 +1,19 @@ package libkpod +/* import ( "encoding/json" "io/ioutil" - "os" - "path/filepath" - "regexp" - "strings" - "syscall" + "os" + "path/filepath" + "regexp" + "strings" + "syscall" - "github.com/pkg/errors" - "github.com/sirupsen/logrus" + "github.com/pkg/errors" + "github.com/sirupsen/logrus" ) - +*/ const ( // DefaultHooksDirPath Default directory containing hooks config files DefaultHooksDirPath = "/usr/share/containers/oci/hooks.d" diff --git a/libkpod/testdata/config.toml b/libkpod/testdata/config.toml index 318273674..e19d36017 100644 --- a/libkpod/testdata/config.toml +++ b/libkpod/testdata/config.toml @@ -16,7 +16,7 @@ cgroup_manager = "cgroupfs" hooks_dir_path = "/usr/share/containers/oci/hooks.d" pids_limit = 2048 - container_exits_dir = "/var/run/kpod/exits" + container_exits_dir = "/var/run/podman/exits" [crio.image] default_transport = "docker://" pause_image = "kubernetes/pause" |