(old, new []int64)
| 409 | } |
| 410 | |
| 411 | func 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. |
| 424 | type MockLimits struct { |
no outgoing calls