From b63d696405593d056cce850e1503a6bef17c2cf8 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 23 Nov 2021 11:12:34 -0700 Subject: e2e tests: enable golint ...and fix problems found therewith. Signed-off-by: Ed Santiago --- test/e2e/network_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/e2e/network_test.go') diff --git a/test/e2e/network_test.go b/test/e2e/network_test.go index 953380335..734a45bca 100644 --- a/test/e2e/network_test.go +++ b/test/e2e/network_test.go @@ -185,7 +185,7 @@ var _ = Describe("Podman network", func() { Expect(session).Should(Exit(0)) }) - rm_func := func(rm string) { + rmFunc := func(rm string) { It(fmt.Sprintf("podman network %s no args", rm), func() { session := podmanTest.Podman([]string{"network", rm}) session.WaitWithDefaultTimeout() @@ -213,8 +213,8 @@ var _ = Describe("Podman network", func() { }) } - rm_func("rm") - rm_func("remove") + rmFunc("rm") + rmFunc("remove") It("podman network inspect no args", func() { session := podmanTest.Podman([]string{"network", "inspect"}) -- cgit v1.2.3-54-g00ecf