This patch removes the call to go to condor to sync states since this
should now be done by dbomatic.

Signed-off-by: Ian Main <[email protected]>
---
 src/app/controllers/instance_controller.rb |    3 ---
 src/app/controllers/pool_controller.rb     |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/app/controllers/instance_controller.rb 
b/src/app/controllers/instance_controller.rb
index dcf0fa2..4d34b9f 100644
--- a/src/app/controllers/instance_controller.rb
+++ b/src/app/controllers/instance_controller.rb
@@ -32,9 +32,6 @@ class InstanceController < ApplicationController
   def index
     require_privilege(Privilege::INSTANCE_VIEW)
 
-    # go to condor and sync the database to the real instance states
-    condormatic_instances_sync_states
-
     @pools = Pool.list_for_user(@current_user, Privilege::INSTANCE_MODIFY)
     @order_dir = params[:order_dir] == 'desc' ? 'desc' : 'asc'
     @order = params[:order] || 'name'
diff --git a/src/app/controllers/pool_controller.rb 
b/src/app/controllers/pool_controller.rb
index c0a38c9..187da09 100644
--- a/src/app/controllers/pool_controller.rb
+++ b/src/app/controllers/pool_controller.rb
@@ -41,8 +41,6 @@ class PoolController < ApplicationController
     #FIXME: clean this up, many error cases here
     @pool = Pool.find(params[:id])
     require_privilege(Privilege::INSTANCE_VIEW,@pool)
-    # Go to condor and sync the database to the real instance states
-    condormatic_instances_sync_states
     @pool.reload
 
     @order_dir = params[:order_dir] == 'desc' ? 'desc' : 'asc'
-- 
1.7.1.1

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to