From ea8ef4787553f2f1b93367843b737ea5dfc6901b Mon Sep 17 00:00:00 2001 From: Kevin Hannon Date: Tue, 30 Jan 2024 16:25:17 -0500 Subject: [PATCH] update with taint suggestion --- pkg/webhooks/resourceflavor_webhook_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webhooks/resourceflavor_webhook_test.go b/pkg/webhooks/resourceflavor_webhook_test.go index 3ecc90f3b9..45a1912325 100644 --- a/pkg/webhooks/resourceflavor_webhook_test.go +++ b/pkg/webhooks/resourceflavor_webhook_test.go @@ -109,7 +109,7 @@ func TestValidateResourceFlavor(t *testing.T) { Value: "v", Effect: corev1.TaintEffectNoSchedule, }, ""), - field.NotSupported(field.NewPath("spec", "tolerations").Index(2).Child("effect"), corev1.TaintEffect("not-valid"), []string{}), + field.NotSupported(field.NewPath("spec", "tolerations").Index(2).Child("effect"), corev1.TaintEffect("not-valid"), []corev1.TaintEffect{}), }, }, }