mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-19 03:51:37 +01:00
This also makes the call that happens upon path withdrawl safer, by checking to see if the route exists before deleting it. One departure here is that we used to only log errors, now we return errors as soon as they are encountered, this may cause some routes to persist even if they had been cleaned before by stopping at the first error. However, I think that it makes for more consistent and expected behavior if this needs to be called in another place.