lib/rezept/actions.rb in rezept-0.3.0 vs lib/rezept/actions.rb in rezept-0.3.1
- old
+ new
@@ -90,9 +90,10 @@
managed_instances = @client.get_managed_instances(instance_ids)
if options['wait_entries']
info("#{dry_run}Wait for entries of managed instances...")
while instances.length > 0 and managed_instances.length == 0
+ sleep 1
managed_instances = @client.get_managed_instances(instance_ids)
end
end
info("#{dry_run}Target instances...")