Skip to content

Commit

Permalink
Merge pull request ManageIQ#151 from billfitzgerald0120/fix_ae_retry_…
Browse files Browse the repository at this point in the history
…interval

Changed ae_retry_limit = 1.minute to ae_retry_interval = 1.minute.
  • Loading branch information
gmcculloug authored Jul 25, 2017
2 parents 148e5a6 + 2cabbfb commit 0ee9bd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def check_status(job)
case status
when 'transient'
@handle.root['ae_result'] = 'retry'
@handle.root['ae_retry_limit'] = 1.minute
@handle.root['ae_retry_interval'] = 1.minute
when 'failed', 'create_canceled'
@handle.root['ae_result'] = 'error'
@handle.log(:error, "Job failed for #{job.id} Ansible ID: #{job.ems_ref} reason #{reason}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def check_ip_addr_available(vm)
if ip_list.empty?
vm.refresh
@handle.root['ae_result'] = 'retry'
@handle.root['ae_retry_limit'] = 1.minute
@handle.root['ae_retry_interval'] = 1.minute
else
@handle.root['ae_result'] = 'ok'
end
Expand Down

0 comments on commit 0ee9bd4

Please sign in to comment.