Skip to content

Commit

Permalink
fix: no schedule toleration
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Nov 13, 2023
1 parent cdd4faf commit 056b9f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/flag/kubernetes_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand All @@ -30,7 +29,7 @@ func TestOptionToToleration(t *testing.T) {
},
},
{
name: "schedule",
name: "no schedule",
tolerationsOptions: []string{"key1=CriticalAddonsOnly:NoSchedule"},
want: []corev1.Toleration{
{
Expand Down

0 comments on commit 056b9f3

Please sign in to comment.