summaryrefslogtreecommitdiff
path: root/pkg/util
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-01-08 15:34:50 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-01-08 15:44:30 +0100
commit2311e5ff8acf866f2919829b9e2157b6d2c20d1e (patch)
treeb13782887666c752a62abde71eb67ecee2c86adc /pkg/util
parent1d1519b08b685af594ee4577f24c24b94e992b63 (diff)
downloadpodman-2311e5ff8acf866f2919829b9e2157b6d2c20d1e.tar.gz
podman-2311e5ff8acf866f2919829b9e2157b6d2c20d1e.tar.bz2
podman-2311e5ff8acf866f2919829b9e2157b6d2c20d1e.zip
fix lint - pkg/util: func comment
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/util')
-rw-r--r--pkg/util/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index f7d04c73b..c9d09b8b5 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -304,7 +304,7 @@ func GetImageConfig(changes []string) (ImageConfig, error) {
return config, nil
}
-// Parse and validate a signal name or number
+// ParseSignal parses and validates a signal name or number.
func ParseSignal(rawSignal string) (syscall.Signal, error) {
// Strip off leading dash, to allow -1 or -HUP
basename := strings.TrimPrefix(rawSignal, "-")