Patch dashboard exporter regarding elastic/beats/pull/8954

This commit is contained in:
Blerim Sheqa 2018-12-20 16:28:31 +01:00
parent eb697707f2
commit adb3ff1f6c

View File

@ -117,7 +117,7 @@ func decodeValue(data common.MapStr, key string) {
return return
} }
s := v.(string) s := v.(string)
var d common.MapStr var d interface{}
json.Unmarshal([]byte(s), &d) json.Unmarshal([]byte(s), &d)
data.Put(key, d) data.Put(key, d)