mirror of
https://github.com/spf13/viper
synced 2025-05-11 06:37:27 +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
|
||||
}
|
||||
|
||||
if len(val) == 0 {
|
||||
continue
|
||||
}
|
||||
v.kvstore = val
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue