Skip to content

Commit

Permalink
to float
Browse files Browse the repository at this point in the history
  • Loading branch information
chayuto committed Apr 5, 2016
1 parent b2ca455 commit a45df4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ryu_faucet/org/onfsdn/faucet/gauge.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def update(self, rcv_time, msg):
"measurement": "volume",
"tags": tags,
"time": int(rcv_time),
"fields": {"value": f.byte_count } })
"fields": {"value": float(f.byte_count) } })

points.append({
"measurement": "rate",
Expand Down

0 comments on commit a45df4a

Please sign in to comment.