aboutsummaryrefslogtreecommitdiff
path: root/libkpod
diff options
context:
space:
mode:
Diffstat (limited to 'libkpod')
-rw-r--r--libkpod/config.go1
-rw-r--r--libkpod/hooks.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/libkpod/config.go b/libkpod/config.go
index 7b929b79e..15da7e482 100644
--- a/libkpod/config.go
+++ b/libkpod/config.go
@@ -21,7 +21,6 @@ const (
cniConfigDir = "/etc/cni/net.d/"
cniBinDir = "/usr/libexec/cni/"
cgroupManager = "" //oci.CgroupfsCgroupsManager
- lockPath = "/run/crio.lock"
containerExitsDir = "" //oci.ContainerExitsDir
)
diff --git a/libkpod/hooks.go b/libkpod/hooks.go
index f353cdcde..681355bcf 100644
--- a/libkpod/hooks.go
+++ b/libkpod/hooks.go
@@ -29,6 +29,7 @@ type HookParams struct {
HasBindMounts bool `json:"hasbindmounts"`
}
+/*
// readHook reads hooks json files, verifies it and returns the json config
func readHook(hookPath string) (HookParams, error) {
var hook HookParams
@@ -96,3 +97,4 @@ func readHooks(hooksPath string, hooks map[string]HookParams) error {
}
return nil
}
+*/