mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
fix lint - pkg/util: func comment
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -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, "-")
|
||||
|
Reference in New Issue
Block a user