1
0
Fork 0
mirror of https://github.com/spf13/viper synced 2025-08-22 10:31:50 +00:00

fix skip read empty data from remote provider

This commit is contained in:
dev4mobile 2020-11-04 11:30:50 +08:00
commit 40d27029ac

View file

@ -1884,7 +1884,9 @@ func (v *Viper) getKeyValueConfig() error {
continue
}
if len(val) == 0 {
continue
}
v.kvstore = val
return nil