remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
This commit is contained in:
@@ -17,7 +17,6 @@ limitations under the License.
|
||||
package validation
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -68,12 +67,6 @@ func getValidPodTemplateSpecForGenerated(selector *metav1.LabelSelector) api.Pod
|
||||
}
|
||||
}
|
||||
|
||||
func featureToggle(feature utilfeature.Feature) []string {
|
||||
enabled := fmt.Sprintf("%s=%t", feature, true)
|
||||
disabled := fmt.Sprintf("%s=%t", feature, false)
|
||||
return []string{enabled, disabled}
|
||||
}
|
||||
|
||||
func TestValidateJob(t *testing.T) {
|
||||
validManualSelector := getValidManualSelector()
|
||||
validPodTemplateSpecForManual := getValidPodTemplateSpecForManual(validManualSelector)
|
||||
|
Reference in New Issue
Block a user