Skip to content

Commit

Permalink
Fix the ems_event add_queue method
Browse files Browse the repository at this point in the history
#16073 introduced a new option
for a artemis queue but broke the method handling for the standard
MiqQueue.
  • Loading branch information
agrare committed Oct 12, 2017
1 parent c62d169 commit 46e60de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/ems_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def self.group_name(group)
group[:name]
end

def self.add_queue(_meth, ems_id, event)
def self.add_queue(meth, ems_id, event)
if Settings.prototype.queue_type == 'artemis'
MiqQueue.artemis_client('event_handler').publish_topic(
:service => "events",
Expand Down

0 comments on commit 46e60de

Please sign in to comment.