lib/elasticity/job_flow.rb in elasticity-4.0.2 vs lib/elasticity/job_flow.rb in elasticity-4.0.3
- old
+ new
@@ -166,10 +166,10 @@
private
def retry_check
jf_status = status
- return status.state == 'RUNNING' || status.state == 'STARTING', jf_status
+ return status.active?, jf_status
end
def emr
@emr ||= Elasticity::EMR.new(@access_key, @secret_key, :region => @region)
end
\ No newline at end of file