diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-30 20:01:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 20:01:55 +0200 |
commit | 6900517f109d78ed5a9b794666b7d97782cf6ce9 (patch) | |
tree | 05e08e081bd03d23943dd255fabdcafe8b83147d /cmd/podman/parse/net.go | |
parent | fc9451ed15e3ea2fbdcd5754b367db74eec1063e (diff) | |
parent | 22d5b2e3053ad66ce3b30eba3adfca70bc8e389d (diff) | |
download | podman-6900517f109d78ed5a9b794666b7d97782cf6ce9.tar.gz podman-6900517f109d78ed5a9b794666b7d97782cf6ce9.tar.bz2 podman-6900517f109d78ed5a9b794666b7d97782cf6ce9.zip |
Merge pull request #6046 from jwhonce/jira/822
V2 enable ps tests
Diffstat (limited to 'cmd/podman/parse/net.go')
-rw-r--r-- | cmd/podman/parse/net.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/parse/net.go b/cmd/podman/parse/net.go index 03cda268c..f93c4ab1e 100644 --- a/cmd/podman/parse/net.go +++ b/cmd/podman/parse/net.go @@ -1,4 +1,4 @@ -//nolint +// nolint // most of these validate and parse functions have been taken from projectatomic/docker // and modified for cri-o package parse @@ -46,7 +46,7 @@ var ( // validateExtraHost validates that the specified string is a valid extrahost and returns it. // ExtraHost is in the form of name:ip where the ip has to be a valid ip (ipv4 or ipv6). // for add-host flag -func ValidateExtraHost(val string) (string, error) { //nolint +func ValidateExtraHost(val string) (string, error) { // nolint // allow for IPv6 addresses in extra hosts by only splitting on first ":" arr := strings.SplitN(val, ":", 2) if len(arr) != 2 || len(arr[0]) == 0 { |