From 0b75d64f747efc9bef64dc6f9ee65621f3cbf069 Mon Sep 17 00:00:00 2001 From: blublinsky Date: Fri, 8 Nov 2024 19:43:59 +0000 Subject: [PATCH] fixed typos --- apiserver/pkg/model/converter_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/apiserver/pkg/model/converter_test.go b/apiserver/pkg/model/converter_test.go index 8588a3407a..aa560331ba 100644 --- a/apiserver/pkg/model/converter_test.go +++ b/apiserver/pkg/model/converter_test.go @@ -595,9 +595,6 @@ func TestPopulateTemplate(t *testing.T) { if len(template.NodeSelector) != 0 { t.Errorf("failed to convert config map, expected no node selector, got %d", len(template.NodeSelector)) } - if len(template.NodeSelector) != 0 { - t.Errorf("failed to convert config map, expected no node selector, got %d", len(template.NodeSelector)) - } if len(template.Tolerations) != 1 { t.Errorf("failed to convert config map, expected 1 toleration, got %d", len(template.Tolerations)) }