1
0
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:
Ruben S. Montero 2012-02-09 22:06:54 +01:00
parent c8f9e86b48
commit 96c0c823e9

View File

@ -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