Skip linter validation to allow cherrypick

This commit is contained in:
Michal Wozniak 2025-07-10 10:56:39 +02:00
parent 6a9319c527
commit 053e244efb

View File

@ -3059,6 +3059,7 @@ func createAndWaitReadyNamespacedWithWarnHandler(t *testing.T, client clientset.
testMarkerName = testMarkerNameAnnotation
}
//nolint:staticcheck // SA1019 skip linter to allow cherrypick.
marker := &v1.Endpoints{ObjectMeta: metav1.ObjectMeta{Name: testMarkerName, Namespace: ns, Labels: matchLabels}}
defer func() {
err := client.CoreV1().Endpoints(ns).Delete(context.TODO(), marker.Name, metav1.DeleteOptions{})