Skip to content

Commit 260c125

Browse files
committed
fix: fix cpu type
1 parent 335971c commit 260c125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type NodeStatus struct {
3737
SwapUsed uint64 `msgpack:"swap_used"`
3838
HddTotal uint64 `msgpack:"hdd_total"`
3939
HddUsed uint64 `msgpack:"hdd_used"`
40-
CPU uint64 `msgpack:"cpu"`
40+
CPU float64 `msgpack:"cpu"`
4141
NetworkTx uint64 `msgpack:"network_tx"`
4242
NetworkRx uint64 `msgpack:"network_rx"`
4343
NetworkIn uint64 `msgpack:"network_in"`

0 commit comments

Comments
 (0)