Skip to content

Commit

Permalink
update with taint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
kannon92 committed Jan 30, 2024
1 parent 5e54fb2 commit ea8ef47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhooks/resourceflavor_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}),
},
},
}
Expand Down

0 comments on commit ea8ef47

Please sign in to comment.