Merge pull request #82996 from tnqn/endpointslice-deletion

Fix EndpointSliceController service deletion processing
This commit is contained in:
Kubernetes Prow Robot
2019-10-08 15:42:27 -07:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -251,6 +251,8 @@ func (c *Controller) syncService(key string) error {
if err != nil {
if apierrors.IsNotFound(err) {
c.triggerTimeTracker.DeleteService(namespace, name)
// The service has been deleted, return nil so that it won't be retried.
return nil
}
return err
}