Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EndpointSliceController service deletion processing
syncService shouldn't return error if the service doesn't exist which means it's triggered by service deletion, otherwise the service would be enqueued repeatedly even its cleanup has been executed successfully. This patch makes syncService return nil if the error is NotFound when getting the service, like the other controllers do.
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters