Skip to content

Commit

Permalink
Merge pull request #23239 from nasark/remove_task_id_ae_deliver_queue
Browse files Browse the repository at this point in the history
Remove task_id from AE deliver_queue

(cherry picked from commit 270b7e0)
  • Loading branch information
agrare authored and Fryguy committed Oct 24, 2024
1 parent b3519d7 commit 4d3db84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions app/models/resource_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ def deliver_queue(dialog_hash_values, target, user, task_id = nil)
else
MiqAeEngine.deliver_queue(automate_queue_hash(target, dialog_hash_values[:dialog], user, task_id),
:zone => target.try(:my_zone),
:priority => MiqQueue::HIGH_PRIORITY,
:task_id => "#{self.class.name.underscore}_#{id}")
:priority => MiqQueue::HIGH_PRIORITY)
end
end

Expand Down
1 change: 0 additions & 1 deletion spec/models/resource_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
:role => 'automate',
:zone => zone_name,
:priority => MiqQueue::HIGH_PRIORITY,
:task_id => "#{ra.class.name.underscore}_#{ra.id}",
:msg_timeout => 3600
}
end
Expand Down

0 comments on commit 4d3db84

Please sign in to comment.