remove unused code

Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
This commit is contained in:
Davanum Srinivas
2019-04-18 17:22:45 -04:00
parent 0772f852ad
commit 7b8c9acc09
77 changed files with 0 additions and 904 deletions

View File

@@ -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)