diff --git a/pkg/flag/kubernetes_flags_test.go b/pkg/flag/kubernetes_flags_test.go index 0b0c0f3ea953..50c0b4f793bf 100644 --- a/pkg/flag/kubernetes_flags_test.go +++ b/pkg/flag/kubernetes_flags_test.go @@ -14,10 +14,9 @@ func TestOptionToToleration(t *testing.T) { name string tolerationsOptions []string want []corev1.Toleration - err error }{ { - name: "execute", + name: "no execute", tolerationsOptions: []string{"key1=CriticalAddonsOnly:NoExecute:3600"}, want: []corev1.Toleration{ { @@ -30,7 +29,7 @@ func TestOptionToToleration(t *testing.T) { }, }, { - name: "schedule", + name: "no schedule", tolerationsOptions: []string{"key1=CriticalAddonsOnly:NoSchedule"}, want: []corev1.Toleration{ {