diff --git a/end-to-end/utils_test.go b/end-to-end/utils_test.go index fde3edf15..b25512f1f 100644 --- a/end-to-end/utils_test.go +++ b/end-to-end/utils_test.go @@ -68,7 +68,7 @@ func registerFromTestImage(t *testing.T, ctx context.Context) string { // in a form of "key=value" strings can be appended to the current environment. // It stops the agent upon cleanup. If the cleanup fails, the testing will be stopped. // -//nolint:revive // testing.T must precede the contex +//nolint:revive // testing.T must precede the context func startAgent(t *testing.T, ctx context.Context, arg string, environ ...string) (cleanup func()) { t.Helper()