MCPcopy Create free account
hub / github.com/cortexproject/cortex / hasPriorityListChanged

Function hasPriorityListChanged

pkg/scheduler/queue/user_queues.go:411–421  ·  view source on GitHub ↗
(old, new []int64)

Source from the content-addressed store, hash-verified

409}
410
411func hasPriorityListChanged(old, new []int64) bool {
412 if len(old) != len(new) {
413 return true
414 }
415 for i := range old {
416 if old[i] != new[i] {
417 return true
418 }
419 }
420 return false
421}
422
423// MockLimits implements the Limits interface. Used in tests only.
424type MockLimits struct {

Callers 2

getOrAddQueueMethod · 0.85

Calls

no outgoing calls

Tested by 1