mirror of https://github.com/spf13/viper.git
Actually return the kvstore retrieved from the kv server
This commit is contained in:
parent
d2d8f6caa1
commit
ea04102003
2
viper.go
2
viper.go
|
@ -559,7 +559,7 @@ func getEtcdConfig(provider *remoteProvider) (map[string]interface{}, error) {
|
||||||
}
|
}
|
||||||
reader := bytes.NewReader(b)
|
reader := bytes.NewReader(b)
|
||||||
MarshallReader(reader, kvstore)
|
MarshallReader(reader, kvstore)
|
||||||
return nil, err
|
return kvstore, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func insensativiseMap(m map[string]interface{}) {
|
func insensativiseMap(m map[string]interface{}) {
|
||||||
|
|
Loading…
Reference in New Issue