From 22567e3c9e157b2a28c089f7dd6e2cfb14a76cb1 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Thu, 29 Mar 2018 16:22:19 -0400 Subject: [PATCH] Fix update_attributes to take right number of args --- app/models/miq_retire_task.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/miq_retire_task.rb b/app/models/miq_retire_task.rb index 97a5d59a7988..1dfab97c9ad7 100644 --- a/app/models/miq_retire_task.rb +++ b/app/models/miq_retire_task.rb @@ -44,7 +44,7 @@ def deliver_to_automate(req_type = request_type, zone = nil) :args => [args], :role => 'automate', :zone => options.fetch(:miq_zone, zone), - :tracking_label => my_task_id, + :tracking_label => tracking_label_id, ) update_and_notify_parent(:state => "pending", :status => "Ok", :message => "Automation Starting") else @@ -53,7 +53,7 @@ def deliver_to_automate(req_type = request_type, zone = nil) end def after_request_task_create - update_attributes(:description, get_description) + update_attributes(:description => get_description) end def after_ae_delivery(ae_result)