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

Perry Myers pmyers at redhat.com
Fri Dec 5 23:16:00 UTC 2008


Scott Seago wrote:
> Signed-off-by: Scott Seago <sseago at 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

WFM, Ack and I pushed this :)

Perry

-- 
|=-        Red Hat, Engineering, Emerging Technologies, Boston        -=|
|=-                     Email: pmyers at redhat.com                      -=|
|=-         Office: +1 412 474 3552   Mobile: +1 703 362 9622         -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|




More information about the ovirt-devel mailing list