[Ovirt-devel] [PATCH] fixed a copy-and-paste bug in my last patch

Scott Seago sseago at redhat.com
Tue May 27 17:33:03 UTC 2008


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

diff --git a/wui/src/app/controllers/vm_controller.rb b/wui/src/app/controllers/vm_controller.rb
index 8e6d7f8..9bfd665 100644
--- a/wui/src/app/controllers/vm_controller.rb
+++ b/wui/src/app/controllers/vm_controller.rb
@@ -108,7 +108,8 @@ class VmController < ApplicationController
         vms.each do |vm|
           vm.destroy
         end
-      end      render :json => { :object => "vm", :success => true, 
+      end
+      render :json => { :object => "vm", :success => true, 
         :alert => "Virtual Machines were successfully deleted." }
     rescue
       render :json => { :object => "vm", :success => false, 
-- 
1.5.4.1


--------------090607030702060505040307--




More information about the ovirt-devel mailing list