From bcc885d53e6938dc273069ca84c895884c26bba3 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Mon, 20 Mar 2017 08:26:28 -0600 Subject: [PATCH] Fixes simulate message passing --- app/controllers/application_controller/automate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller/automate.rb b/app/controllers/application_controller/automate.rb index 012485c35a5..f706ca32335 100644 --- a/app/controllers/application_controller/automate.rb +++ b/app/controllers/application_controller/automate.rb @@ -142,11 +142,11 @@ def resolve def build_results options = { :vmdb_object => @sb[:obj], - :fqclass => @resolve[:new][:starting_object], - :message => @resolve[:new][:object_message] + :fqclass => @resolve[:new][:starting_object] } @resolve[:state_attributes] = {} if params[:button] == 'throw' automation_attrs = @sb[:attrs].reverse_merge(@resolve[:state_attributes]) + automation_attrs["message"] = @resolve[:new][:object_message] ws = MiqAeEngine.resolve_automation_object(@sb[:name], User.current_user, automation_attrs,