Skip to content

Commit

Permalink
Merge pull request #1820 from DataDog/Martin/rabbitmq_queue_absolute_…
Browse files Browse the repository at this point in the history
…name

[RabbitMQ] Fix variable for absolute queue name situations
Remi Hakim committed Aug 10, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 1f3e4bf + 0831b76 commit 5f5a2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks.d/rabbitmq.py
Original file line number Diff line number Diff line change
@@ -212,7 +212,7 @@ def get_stats(self, instance, base_url, object_type, max_detailed, filters, auth
absolute_name = '%s/%s' % (data_line.get("vhost"), name)
if absolute_name in explicit_filters:
matching_lines.append(data_line)
explicit_filters.remove(name)
explicit_filters.remove(absolute_name)
continue

for p in regex_filters:

0 comments on commit 5f5a2f2

Please sign in to comment.