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

View differences:

src/cli/one_helper/onegroup_helper.rb
84 84

  
85 85
            column :CPU, "Total CPU allocated to user VMs", :size=>11 do |d|
86 86
                if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM')
87
                    "%4d / %4d" % [d['VM_QUOTA']['VM']["CPU_USED"], d['VM_QUOTA']['VM']["CPU"]]
87
                    "%4.0f / %4.0f" % [d['VM_QUOTA']['VM']["CPU_USED"], d['VM_QUOTA']['VM']["CPU"]]
88 88
                else
89 89
                    "-"
90 90
                end

Also available in: Unified diff