From 3cf848958f56a94d3501a20cc16489bf1b339df0 Mon Sep 17 00:00:00 2001 From: Advait Shinde Date: Wed, 24 Feb 2016 18:11:31 -0800 Subject: [PATCH] Support multiple endpoints for KV stores: - Fixes #222 --- provider/kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/kv.go b/provider/kv.go index 8699a5f20..a509ec0a6 100644 --- a/provider/kv.go +++ b/provider/kv.go @@ -69,7 +69,7 @@ func (provider *Kv) provide(configurationChan chan<- types.ConfigMessage) error kv, err := libkv.NewStore( provider.storeType, - []string{provider.Endpoint}, + strings.Split(provider.Endpoint, ","), storeConfig, ) if err != nil {