Cleanup SetPredicatesOrderingDuringTest due to deprecation of predicates

This commit is contained in:
Wei Huang
2020-01-03 11:57:17 -08:00
parent ce2102f363
commit 051be8fe80
2 changed files with 0 additions and 25 deletions

View File

@@ -77,13 +77,3 @@ func portsConflict(existingPorts schedulernodeinfo.HostPortInfo, wantPorts []*v1
return false
}
// SetPredicatesOrderingDuringTest sets the predicatesOrdering to the specified
// value, and returns a function that restores the original value.
func SetPredicatesOrderingDuringTest(value []string) func() {
origVal := predicatesOrdering
predicatesOrdering = value
return func() {
predicatesOrdering = origVal
}
}