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:
parent
7d823438bb
commit
f123e43c1f
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user