From 818d500f98a781fc8cab7cc34a7dc084c5b3970c Mon Sep 17 00:00:00 2001 From: Asim Date: Tue, 3 May 2016 22:11:42 +0100 Subject: [PATCH] Fix compile error --- cmd/cmd.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 5c3ce99f..47b43f21 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -26,8 +26,6 @@ import ( "github.com/micro/go-micro/selector" "github.com/micro/go-micro/selector/blacklist" "github.com/micro/go-micro/selector/cache" - "github.com/micro/go-micro/selector/random" - "github.com/micro/go-micro/selector/roundrobin" // transports "github.com/micro/go-micro/transport" @@ -119,7 +117,7 @@ var ( cli.StringFlag{ Name: "selector", EnvVar: "MICRO_SELECTOR", - Usage: "Selector used to pick nodes for querying. random, roundrobin, blacklist", + Usage: "Selector used to pick nodes for querying", }, cli.StringFlag{ Name: "transport", @@ -144,10 +142,8 @@ var ( } DefaultSelectors = map[string]func(...selector.Option) selector.Selector{ - "cache": cache.NewSelector, - "random": random.NewSelector, - "roundrobin": roundrobin.NewSelector, - "blacklist": blacklist.NewSelector, + "cache": cache.NewSelector, + "blacklist": blacklist.NewSelector, } DefaultTransports = map[string]func(...transport.Option) transport.Transport{