Skip to content

Commit 1e93b6e

Browse files
authored
Merge pull request #560 from kbrock/queue_wait
update proper use of wait_for_task
2 parents 04c3972 + 79f85d7 commit 1e93b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/queue_wait.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ When the task is finished, the `:action` passed in is called with the original p
5151

5252
```
5353
def create_finished
54-
task_id = session[:async][:params][:task_id]
55-
tenant_name = session[:async][:params][:name]
54+
task_id = params[:task_id]
55+
tenant_name = params[:name]
5656
task = MiqTask.find(task_id)
5757
if MiqTask.status_ok?(task.status)
5858
add_flash(_("%{model} \"%{name}\" created") % {

0 commit comments

Comments
 (0)