diff --git a/service/logs/parse_logs_test.go b/service/logs/parse_logs_test.go index 9f6abdf714..5226409fef 100644 --- a/service/logs/parse_logs_test.go +++ b/service/logs/parse_logs_test.go @@ -47,7 +47,6 @@ func TestParseLogDetails(t *testing.T) { }, } for _, tc := range testCases { - tc := tc t.Run(tc.line, func(t *testing.T) { actual, err := ParseLogDetails(tc.line) if tc.expectedErr != "" {