[Ovirt-devel] [PATCH] Fixed a misnamed reference: cpu_details should have been cpus.
Chris Lalancette
clalance at redhat.com
Thu Jul 10 14:21:56 UTC 2008
Darryl L. Pierce wrote:
> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> ---
> wui/src/app/models/host.rb | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/wui/src/app/models/host.rb b/wui/src/app/models/host.rb
> index 90e18d5..e5f6264 100644
> --- a/wui/src/app/models/host.rb
> +++ b/wui/src/app/models/host.rb
> @@ -72,7 +72,7 @@ class Host < ActiveRecord::Base
> end
>
> def num_cpus
> - return cpu_details.size
> + return cpus.size
> end
>
> def cpu_speed
Yes, this was messing up display in the WUI itself. ACK, and committed.
Chris Lalancette
More information about the ovirt-devel
mailing list