[fix] input exec falcon format convert error bug
This commit is contained in:
parent
eb25549f18
commit
21b3590507
|
@ -60,7 +60,7 @@ func (p *Parser) Parse(input []byte, slist *list.SafeList) error {
|
|||
now := time.Now()
|
||||
|
||||
for i := 0; i < len(samples); i++ {
|
||||
fv, err := conv.ToFloat64(samples[i])
|
||||
fv, err := conv.ToFloat64(samples[i].Value)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue