From a3e10757a52fa47a0608afd88986162ca5eb22cc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 23 Feb 2024 15:01:41 +0200 Subject: lint warnings --- integrationtests/dtailhealth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrationtests/dtailhealth_test.go') diff --git a/integrationtests/dtailhealth_test.go b/integrationtests/dtailhealth_test.go index 49fbd38..7946824 100644 --- a/integrationtests/dtailhealth_test.go +++ b/integrationtests/dtailhealth_test.go @@ -20,7 +20,7 @@ func TestDTailHealth1(t *testing.T) { t.Log("Serverless check, is supposed to exit with warning state.") exitCode, err := runCommand(context.TODO(), t, outFile, "../dtailhealth") if exitCode != 1 { - t.Error(fmt.Sprintf("Expected exit code '1' but got '%d': %v", exitCode, err)) + t.Errorf("Expected exit code '1' but got '%d': %v", exitCode, err) return } -- cgit v1.2.3