From 79f85d7a04b6439cd95f2ede4e7c955ddd0486ce Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Thu, 27 Feb 2025 09:57:16 -0500 Subject: [PATCH] update proper use of wait_for_task We no longer have session[:async] Instead we use params (they are taken from the task injected back into the params) --- ui/queue_wait.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/queue_wait.md b/ui/queue_wait.md index cb5742bb..731cd2dd 100644 --- a/ui/queue_wait.md +++ b/ui/queue_wait.md @@ -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") % {