mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Actually return the kvstore retrieved from the kv server
This commit is contained in:
parent
d2d8f6caa1
commit
ea04102003
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -559,7 +559,7 @@ func getEtcdConfig(provider *remoteProvider) (map[string]interface{}, error) {
|
|||
}
|
||||
reader := bytes.NewReader(b)
|
||||
MarshallReader(reader, kvstore)
|
||||
return nil, err
|
||||
return kvstore, err
|
||||
}
|
||||
|
||||
func insensativiseMap(m map[string]interface{}) {
|
||||
|
|
Loading…
Reference in a new issue