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/checkpoint_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/e2e/checkpoint_test.go') diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go index cc827a453..318e3617e 100644 --- a/test/e2e/checkpoint_test.go +++ b/test/e2e/checkpoint_test.go @@ -1019,6 +1019,9 @@ var _ = Describe("Podman checkpoint", func() { "podman checkpoint and restore container out of and into pod (%s)", share, ) + + share := share // copy into local scope, for use inside function + It(testName, func() { if !criu.CheckForCriu(criu.PodCriuVersion) { Skip("CRIU is missing or too old.") -- cgit v1.2.3-54-g00ecf