summaryrefslogtreecommitdiff
path: root/libkpod/hooks.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-12-16 09:38:55 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-18 16:46:05 +0000
commitde3468e120d489d046c08dad72ba2262e222ccb1 (patch)
tree8956f751c460baf23f95b5bfd9a441bd71d8f5dd /libkpod/hooks.go
parentf2f9fdf12674623dd0d38b32408083cccdad5e66 (diff)
downloadpodman-de3468e120d489d046c08dad72ba2262e222ccb1.tar.gz
podman-de3468e120d489d046c08dad72ba2262e222ccb1.tar.bz2
podman-de3468e120d489d046c08dad72ba2262e222ccb1.zip
CleanUp problems found my make lint.
Remove or comment out unused functions. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #145 Approved by: umohnani8
Diffstat (limited to 'libkpod/hooks.go')
-rw-r--r--libkpod/hooks.go2
1 files changed, 2 insertions, 0 deletions
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
}
+*/