Skip to content

Commit

Permalink
fixed ident
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Cerutti committed Nov 2, 2016
1 parent f8c5e23 commit 18612b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/chrony/chrony.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func processChronycOutput(out string) (map[string]interface{}, map[string]string
if strings.Contains(strings.ToLower(name), "reference_id") {
tags["reference_id"] = valueFields[0]
continue
}
}
value, err := strconv.ParseFloat(valueFields[0], 64)
if err != nil {
tags[name] = strings.ToLower(strings.Join(valueFields, " "))
Expand Down

0 comments on commit 18612b0

Please sign in to comment.