diff --git a/pkg/api/router_test.go b/pkg/api/router_test.go index 99382427c22..6f3e89d5eeb 100644 --- a/pkg/api/router_test.go +++ b/pkg/api/router_test.go @@ -407,6 +407,7 @@ func TestEndpointOptions(t *testing.T) { } for _, tc := range testCases { + tc := tc t.Run(tc.name, func(t *testing.T) { t.Parallel()