Disable unparam linter: e2e/image/push_test.go:299:27: withNotaryPassphrase - pwd always receives "foo" (unparam)

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki
2019-10-31 19:22:23 +01:00
committed by Sebastiaan van Stijn
parent 7d823438bb
commit f123e43c1f
+1
View File
@@ -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{