With this in place, we can at least do a successful classads
sync.  I believe we'll also have to do some additional work
to get instance creation working, but I haven't been able
to test that yet.

Signed-off-by: Chris Lalancette <[email protected]>
---
 src/app/util/condormatic.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/util/condormatic.rb b/src/app/util/condormatic.rb
index 8cecadf..74e8fdf 100644
--- a/src/app/util/condormatic.rb
+++ b/src/app/util/condormatic.rb
@@ -223,7 +223,7 @@ def condormatic_classads_sync
   Rails.logger.info "Syncing classads.."
   providers.each do |provider|
     provider.cloud_accounts.each do |account|
-      provider.images.each do |image|
+      provider.replicated_images.each do |image|
         provider.hardware_profiles.each do |hwp|
           provider.realms.each do |realm|
             pipe = IO.popen("condor_advertise UPDATE_STARTD_AD 2>&1", "w+")
-- 
1.7.2.3

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

Reply via email to