[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH] fixed cpu speed value for hosts grid.



Signed-off-by: Scott Seago <sseago redhat com>
---
 src/app/models/host.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/models/host.rb b/src/app/models/host.rb
index 429f0c0..640782d 100644
--- a/src/app/models/host.rb
+++ b/src/app/models/host.rb
@@ -85,7 +85,7 @@ class Host < ActiveRecord::Base
   end
 
   def cpu_speed
-    "FIX ME!"
+    cpus[0].speed unless cpus.empty?
   end
 
   def display_name
-- 
1.6.0.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]