remove invalid map

This commit is contained in:
2022-01-15 21:35:37 +01:00
parent 09acd79fe8
commit afa50b4fca

View File

@ -302,7 +302,7 @@ func (c *Config) getRawMap(key string, dtype DataType) (empty map[string]cValue)
if ok {
for k, v := range entries {
if v.dtype == dtype {
if (v.dtype == dtype) && (v.parsed.err == nil) {
retval[k] = v.parsed
} else {
return