Skip to content

Commit

Permalink
remove task id from AE deliver_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Oct 17, 2024
1 parent c4e8ef0 commit 2c83bef
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 2c83bef

Please sign in to comment.