lib/right_chimp/resources/task.rb in right_chimp-2.3.1 vs lib/right_chimp/resources/task.rb in right_chimp-2.3.2
- old
+ new
@@ -10,10 +10,10 @@
attr_reader :tasker
def wait_for_state(desired_state, timeout = 900)
while timeout > 0
# Make compatible with RL10.
- status = state
+ status = state.downcase
return true if status.match(desired_state)
friendly_url = Connection.audit_url + '/audit_entries/'
friendly_url += href.split(/\//).last
friendly_url = friendly_url.gsub('ae-', '')
if status.match('failed') || status.match('aborted')