From de3468e120d489d046c08dad72ba2262e222ccb1 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 16 Dec 2017 09:38:55 -0500 Subject: CleanUp problems found my make lint. Remove or comment out unused functions. Signed-off-by: Daniel J Walsh Closes: #145 Approved by: umohnani8 --- libkpod/config.go | 1 - libkpod/hooks.go | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libkpod') 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 } +*/ -- cgit v1.2.3-54-g00ecf