diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-13 06:42:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 06:42:56 -0500 |
commit | 3ba0afdd0f03195827f46b50757928ead44b1567 (patch) | |
tree | 9d2cadfe791ebd5a326cc521560b644f586c575e /pkg/specgen/pod_validate.go | |
parent | 9d57aa75a5f22296b81cd37abe08660001971c4a (diff) | |
parent | 78b419909bdf1eeb4af17fff471b381de91bcf73 (diff) | |
download | podman-3ba0afdd0f03195827f46b50757928ead44b1567.tar.gz podman-3ba0afdd0f03195827f46b50757928ead44b1567.tar.bz2 podman-3ba0afdd0f03195827f46b50757928ead44b1567.zip |
Merge pull request #9342 from Luap99/lint
Enable more golangci-lint linters
Diffstat (limited to 'pkg/specgen/pod_validate.go')
-rw-r--r-- | pkg/specgen/pod_validate.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/specgen/pod_validate.go b/pkg/specgen/pod_validate.go index 518adb32f..c9bcdf623 100644 --- a/pkg/specgen/pod_validate.go +++ b/pkg/specgen/pod_validate.go @@ -19,7 +19,6 @@ func exclusivePodOptions(opt1, opt2 string) error { // Validate verifies the input is valid func (p *PodSpecGenerator) Validate() error { - if rootless.IsRootless() && len(p.CNINetworks) == 0 { if p.StaticIP != nil { return ErrNoStaticIPRootless |