diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-02-11 22:55:56 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-02-18 11:11:29 -0500 |
commit | fe4333c1e87ab479fda44261b2cb820484422f85 (patch) | |
tree | 9eeedae859cc9122b9a2bc9c5777149bc4741a25 /cmd/podman/common/create_opts.go | |
parent | 6470f970154c4d21e591fe18d59d1f471b51b5d7 (diff) | |
download | podman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.gz podman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.bz2 podman-fe4333c1e87ab479fda44261b2cb820484422f85.zip |
Enable whitespace linter
Use the whitespace linter and fix the reported problems.
[NO TESTS NEEDED]
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
<MH: Fixed up cherry-pick conflicts>
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/common/create_opts.go')
-rw-r--r-- | cmd/podman/common/create_opts.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/common/create_opts.go b/cmd/podman/common/create_opts.go index ee6165b1b..5fcbda0ce 100644 --- a/cmd/podman/common/create_opts.go +++ b/cmd/podman/common/create_opts.go @@ -272,7 +272,6 @@ func ContainerCreateToContainerCLIOpts(cc handlers.CreateContainerConfig, cgroup endpointsConfig := cc.NetworkingConfig.EndpointsConfig cniNetworks := make([]string, 0, len(endpointsConfig)) for netName, endpoint := range endpointsConfig { - cniNetworks = append(cniNetworks, netName) if endpoint == nil { |