Change SelectFilter to Filter

This commit is contained in:
Asim
2016-04-23 20:15:01 +01:00
parent a4c05fd6ad
commit 4d4f842702
3 changed files with 6 additions and 6 deletions

View File

@@ -82,8 +82,8 @@ type Selector interface {
// based on the selector's algorithm
type Next func() (*registry.Node, error)
// SelectFilter is used to filter a service during the selection process
type SelectFilter func([]*registry.Service) []*registry.Service
// Filter is used to filter a service during the selection process
type Filter func([]*registry.Service) []*registry.Service
var (
DefaultSelector = newRandomSelector()