summaryrefslogtreecommitdiff
path: root/libpod/network
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-11 22:55:56 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-02-11 23:01:56 +0100
commit78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e (patch)
tree12fdfd2472f66e68081a89b0019621c1b8a1586c /libpod/network
parent69ab67bf90aa4bbd285f360e3bca4c85b6028908 (diff)
downloadpodman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.tar.gz
podman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.tar.bz2
podman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.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>
Diffstat (limited to 'libpod/network')
-rw-r--r--libpod/network/create.go1
-rw-r--r--libpod/network/create_test.go1
-rw-r--r--libpod/network/netconflist_test.go1
3 files changed, 0 insertions, 3 deletions
diff --git a/libpod/network/create.go b/libpod/network/create.go
index deacf487a..c58d62575 100644
--- a/libpod/network/create.go
+++ b/libpod/network/create.go
@@ -75,7 +75,6 @@ func validateBridgeOptions(options entities.NetworkCreateOptions) error {
}
return nil
-
}
// parseMTU parses the mtu option
diff --git a/libpod/network/create_test.go b/libpod/network/create_test.go
index 0b828e635..017bf31fe 100644
--- a/libpod/network/create_test.go
+++ b/libpod/network/create_test.go
@@ -8,7 +8,6 @@ import (
)
func Test_validateBridgeOptions(t *testing.T) {
-
tests := []struct {
name string
subnet net.IPNet
diff --git a/libpod/network/netconflist_test.go b/libpod/network/netconflist_test.go
index 5ff733f0f..161764ed9 100644
--- a/libpod/network/netconflist_test.go
+++ b/libpod/network/netconflist_test.go
@@ -7,7 +7,6 @@ import (
)
func TestNewIPAMDefaultRoute(t *testing.T) {
-
tests := []struct {
name string
isIPv6 bool