From f123e43c1f7e4dc4ed4e607b73c7a5a94c6c93a8 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 16:19:39 +0200 Subject: [PATCH] Disable unparam linter: e2e/image/push_test.go:299:27: `withNotaryPassphrase` - `pwd` always receives `"foo"` (unparam) Signed-off-by: Silvin Lubecki --- e2e/image/push_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/image/push_test.go b/e2e/image/push_test.go index 91dbc1cba8..1bcf025556 100644 --- a/e2e/image/push_test.go +++ b/e2e/image/push_test.go @@ -296,6 +296,7 @@ func createImage(t *testing.T, registryPrefix, repo, tag string) string { return image } +//nolint: unparam func withNotaryPassphrase(pwd string) func(*icmd.Cmd) { return func(c *icmd.Cmd) { c.Env = append(c.Env, []string{