mirror of
https://github.com/spf13/viper
synced 2025-05-11 22:57:21 +00:00
fix skip read empty data from remote provider
This commit is contained in:
parent
493643fd5e
commit
40d27029ac
1 changed files with 3 additions and 1 deletions
4
viper.go
4
viper.go
|
@ -1884,7 +1884,9 @@ func (v *Viper) getKeyValueConfig() error {
|
||||||
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if len(val) == 0 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
v.kvstore = val
|
v.kvstore = val
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue