remove invalid map
This commit is contained in:
parent
09acd79fe8
commit
afa50b4fca
@ -302,7 +302,7 @@ func (c *Config) getRawMap(key string, dtype DataType) (empty map[string]cValue)
|
|||||||
|
|
||||||
if ok {
|
if ok {
|
||||||
for k, v := range entries {
|
for k, v := range entries {
|
||||||
if v.dtype == dtype {
|
if (v.dtype == dtype) && (v.parsed.err == nil) {
|
||||||
retval[k] = v.parsed
|
retval[k] = v.parsed
|
||||||
} else {
|
} else {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user