mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
Bug: Fix acct printing for network metrics
This commit is contained in:
parent
c8f9e86b48
commit
96c0c823e9
@ -66,13 +66,13 @@ class AcctHelper
|
|||||||
|
|
||||||
column :NETRX, "Group of the User", :right, :size=>10 do |d|
|
column :NETRX, "Group of the User", :right, :size=>10 do |d|
|
||||||
OpenNebulaHelper.unit_to_str(
|
OpenNebulaHelper.unit_to_str(
|
||||||
d[:network][:net_rx]/1024.0,
|
d[:network][:net_rx].to_i/1024.0,
|
||||||
{})
|
{})
|
||||||
end
|
end
|
||||||
|
|
||||||
column :NETTX, "Group of the User", :right, :size=>10 do |d|
|
column :NETTX, "Group of the User", :right, :size=>10 do |d|
|
||||||
OpenNebulaHelper.unit_to_str(
|
OpenNebulaHelper.unit_to_str(
|
||||||
d[:network][:net_tx]/1024.0,
|
d[:network][:net_tx].to_i/1024.0,
|
||||||
{})
|
{})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user