- forward updated labels/annotations for downward API compat

- refactor queue.Pod construction to take functional options, privatize Pod fields
- refactor DelayFIFO and HistoricalFIFO to offer consistent, more useful Pop() funcs
- refactor pod update processing changes; long term we should somehow combine with the special pod config source that we are using for mirror pods
- task launch timer cleanup
This commit is contained in:
James DeFelice
2015-11-29 19:34:27 +00:00
parent 5885728318
commit af95e3fe0e
14 changed files with 454 additions and 169 deletions

View File

@@ -441,7 +441,7 @@ func (s *offerStorage) ageOffers() {
}
func (s *offerStorage) nextListener() *offerListener {
obj := s.listeners.Pop()
obj := s.listeners.Pop(nil)
if listen, ok := obj.(*offerListener); !ok {
//programming error
panic(fmt.Sprintf("unexpected listener object %v", obj))