Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"

This commit is contained in:
Tim Hockin
2015-05-28 10:23:55 -07:00
parent 9b67435cf3
commit b69fad211e
6 changed files with 36 additions and 122 deletions

View File

@@ -366,16 +366,6 @@ func (s *serviceCache) ListKeys() []string {
return keys
}
// GetByKey returns the value stored in the serviceMap under the given key
func (s *serviceCache) GetByKey(key string) (interface{}, bool, error) {
s.mu.Lock()
defer s.mu.Unlock()
if v, ok := s.serviceMap[key]; ok {
return v, true, nil
}
return nil, false, nil
}
// ListKeys implements the interface required by DeltaFIFO to list the keys we
// already know about.
func (s *serviceCache) allServices() []*cachedService {