From ae5a86bb8d975a9886f12f871e82a97280374861 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 30 Mar 2023 16:29:18 +0200 Subject: [PATCH] cli/command/image/build: remove name for unused arg (revive) cli/command/image/build/context_test.go:21:19: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive) func prepareEmpty(t *testing.T) string { ^ Signed-off-by: Sebastiaan van Stijn --- cli/command/image/build/context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/image/build/context_test.go b/cli/command/image/build/context_test.go index 29d48ec1d9..15686e0be4 100644 --- a/cli/command/image/build/context_test.go +++ b/cli/command/image/build/context_test.go @@ -18,7 +18,7 @@ import ( const dockerfileContents = "FROM busybox" -func prepareEmpty(t *testing.T) string { +func prepareEmpty(_ *testing.T) string { return "" }