Skip to content

Commit

Permalink
Fix update_attributes to take right number of args
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Apr 3, 2018
1 parent 43dca86 commit 22567e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/miq_retire_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 22567e3

Please sign in to comment.