Skip to content

Commit

Permalink
Merge pull request #18947 from xlab-si/provision-finish
Browse files Browse the repository at this point in the history
Set task's state to "finished" eventually
  • Loading branch information
gtanzillo authored Jul 16, 2019
2 parents 5f23b66 + 3186aee commit d701f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/physical_server_provision_task/state_machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def done_provisioning
end

def mark_as_completed
update_and_notify_parent(:state => 'provisioned', :message => msg('provisioning completed'))
update_and_notify_parent(:state => 'finished', :message => msg('provisioning completed'))
MiqEvent.raise_evm_event(source, 'generic_task_finish', :message => "Done provisioning PhysicalServer")
signal :finish
end
Expand Down

0 comments on commit d701f80

Please sign in to comment.