Skip to content

Commit

Permalink
Fixed typo in Service Retirement method.
Browse files Browse the repository at this point in the history
update_service_retirement_status method had incorrect step name.

This caused a problem when trying to retire a service that is already in the process of being retired.
  • Loading branch information
billfitzgerald0120 committed Sep 22, 2017
1 parent 48220ce commit 0ccaec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Update Status for on_error for all states other than the first state which is start retirement
# in the retirement state machine.
if $evm.root['ae_result'] == 'error'
if step.downcase == 'start retirement'
if step.downcase == 'startretirement'
msg = 'Cannot continue because Service is '
msg += service ? "#{service.retirement_state}." : 'nil.'
$evm.log('info', msg)
Expand Down

0 comments on commit 0ccaec8

Please sign in to comment.