Skip to content

Commit

Permalink
[riak] add custom tags to service checks tags
Browse files Browse the repository at this point in the history
Fix #1482
Revert #1527 (backend wasn't able to
deal with custom service checks tags at that time)
  • Loading branch information
degemer committed Oct 20, 2015
1 parent a3080b1 commit 19a4274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks.d/riak.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def check(self, instance):
default_timeout = self.init_config.get('default_timeout', 5)
timeout = float(instance.get('timeout', default_timeout))
tags = instance.get('tags', [])
service_check_tags = ['url:%s' % url]
service_check_tags = tags + ['url:%s' % url]

try:
h = Http(timeout=timeout)
Expand Down

0 comments on commit 19a4274

Please sign in to comment.