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)