Support multiple endpoints for KV stores:

- Fixes #222
This commit is contained in:
Advait Shinde 2016-02-24 18:11:31 -08:00
parent 1a5668377c
commit 3cf848958f

View file

@ -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 {