[Ovirt-devel] [PATCH] fix typo in graph_controller.rb

Hugh O. Brock hbrock at redhat.com
Thu Jul 24 15:38:20 UTC 2008


On Thu, Jul 24, 2008 at 10:25:23AM -0500, Steve Linabery wrote:
> I came across this bug while trying to get graph_controller.rb to give me some output.
> 
> --Steve
> >From 7bab0cd3870798116739dbf7b0e50425e8bb88bf Mon Sep 17 00:00:00 2001
> From: Steve Linabery <slinabery at redhat.com>
> Date: Thu, 24 Jul 2008 09:57:13 -0500
> Subject: [PATCH] Fixed typo so that graph_controller.rb works like its currently supposed to.
> 
> ---
>  wui/src/app/controllers/graph_controller.rb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/wui/src/app/controllers/graph_controller.rb b/wui/src/app/controllers/graph_controller.rb
> index 6c57ba1..dbe2afc 100644
> --- a/wui/src/app/controllers/graph_controller.rb
> +++ b/wui/src/app/controllers/graph_controller.rb
> @@ -457,7 +457,7 @@ class GraphController < ApplicationController
>            end
>        end
>  
> -      def _generated_default_time_axis(myDays)
> +      def _generate_default_time_axis(myDays)
>            times = []
>            now = Time.now
>            if myDays.to_i == 1


Hmm, pretty sure that's been fixed already -- you sure you're on the "next" branch?

--H




More information about the ovirt-devel mailing list