mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Skip linter validation to allow cherrypick
This commit is contained in:
parent
6a9319c527
commit
053e244efb
@ -3059,6 +3059,7 @@ func createAndWaitReadyNamespacedWithWarnHandler(t *testing.T, client clientset.
|
|||||||
testMarkerName = testMarkerNameAnnotation
|
testMarkerName = testMarkerNameAnnotation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//nolint:staticcheck // SA1019 skip linter to allow cherrypick.
|
||||||
marker := &v1.Endpoints{ObjectMeta: metav1.ObjectMeta{Name: testMarkerName, Namespace: ns, Labels: matchLabels}}
|
marker := &v1.Endpoints{ObjectMeta: metav1.ObjectMeta{Name: testMarkerName, Namespace: ns, Labels: matchLabels}}
|
||||||
defer func() {
|
defer func() {
|
||||||
err := client.CoreV1().Endpoints(ns).Delete(context.TODO(), marker.Name, metav1.DeleteOptions{})
|
err := client.CoreV1().Endpoints(ns).Delete(context.TODO(), marker.Name, metav1.DeleteOptions{})
|
||||||
|
Loading…
Reference in New Issue
Block a user