Skip to content

Commit

Permalink
Merge pull request #560 from kbrock/queue_wait
Browse files Browse the repository at this point in the history
update proper use of wait_for_task
  • Loading branch information
Fryguy authored Feb 27, 2025
2 parents 04c3972 + 79f85d7 commit 1e93b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/queue_wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ When the task is finished, the `:action` passed in is called with the original p

```
def create_finished
task_id = session[:async][:params][:task_id]
tenant_name = session[:async][:params][:name]
task_id = params[:task_id]
tenant_name = params[:name]
task = MiqTask.find(task_id)
if MiqTask.status_ok?(task.status)
add_flash(_("%{model} \"%{name}\" created") % {
Expand Down

0 comments on commit 1e93b6e

Please sign in to comment.