mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-12 09:17:41 +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|
|
||||
OpenNebulaHelper.unit_to_str(
|
||||
d[:network][:net_rx]/1024.0,
|
||||
d[:network][:net_rx].to_i/1024.0,
|
||||
{})
|
||||
end
|
||||
|
||||
column :NETTX, "Group of the User", :right, :size=>10 do |d|
|
||||
OpenNebulaHelper.unit_to_str(
|
||||
d[:network][:net_tx]/1024.0,
|
||||
d[:network][:net_tx].to_i/1024.0,
|
||||
{})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user