Revision 8c1dacab src/cli/one_helper/oneuser_helper.rb

View differences:

src/cli/one_helper/oneuser_helper.rb
184 184

  
185 185
            column :CPU, "Total CPU allocated to user VMs", :size=>11 do |d|
186 186
                if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM')
187
                    "%4d / %4d" % [d['VM_QUOTA']['VM']["CPU_USED"], d['VM_QUOTA']['VM']["CPU"]]
187
                    "%4.0f / %4.0f" % [d['VM_QUOTA']['VM']["CPU_USED"], d['VM_QUOTA']['VM']["CPU"]]
188 188
                else
189 189
                    "-"
190 190
                end

Also available in: Unified diff