Skip to content

Commit

Permalink
remove namespace order
Browse files Browse the repository at this point in the history
  • Loading branch information
lminzhw committed Aug 23, 2019
1 parent 934469d commit afe2ce5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/scheduler/framework/session_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,6 @@ func (ssn *Session) JobOrderFn(l, r interface{}) bool {

}

// NamespaceOrderEnabled returns the NamespaceOrder is enabled in this session or not
// judging by length of namespaceOrderFns
func (ssn *Session) NamespaceOrderEnabled() bool {
return len(ssn.namespaceOrderFns) > 0
}

// NamespaceOrderFn invoke namespaceorder function of the plugins
func (ssn *Session) NamespaceOrderFn(l, r interface{}) bool {
for _, tier := range ssn.Tiers {
Expand Down

0 comments on commit afe2ce5

Please sign in to comment.