From ba391e228c3a51bb821cf584abe41694b41659c8 Mon Sep 17 00:00:00 2001 From: Asim Date: Thu, 5 May 2016 21:14:57 +0100 Subject: [PATCH] Add default to selector list --- cmd/cmd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 47b43f21..c8c2c820 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -142,6 +142,7 @@ var ( } DefaultSelectors = map[string]func(...selector.Option) selector.Selector{ + "default": selector.NewSelector, "cache": cache.NewSelector, "blacklist": blacklist.NewSelector, } @@ -153,7 +154,7 @@ var ( // used for default selection as the fall back defaultBroker = "http" defaultRegistry = "consul" - defaultSelector = "random" + defaultSelector = "default" defaultTransport = "http" )