slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
424 stars 78 forks source link

meshreg: fix the implementation logic of selector hook is inconsistent with the definition of ep selector api #416

Closed believening closed 1 year ago

believening commented 1 year ago

In pr https://github.com/slime-io/slime/pull/414 we enhanced the EndpointSelector api to support filtering instance based on IP blacklist. However, the package source's use of the EndpointSelector is different from the EndpointSelector api, so adjust it to be consistent with the EndpointSelector api.