Skip to content

Commit 4fc6f63

Browse files
author
Slavek Kabrda
authored
Merge pull request #61 from DataDog/slavek.kabrda/dont-convert-hostname-twice
Remove extraneous call of hostname conversion
2 parents 8b7cc45 + 74ba417 commit 4fc6f63

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

datadog_callback.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ def playbook_on_stats(self, stats):
339339
event_title += ' with errors'
340340
event_text += "\nErrors occurred on the following hosts:\n%%%\n"
341341
for host, failures, unreachable in error_hosts:
342-
host = self.get_dd_hostname(host)
343342
event_text += "- `{0}` (failure: {1}, unreachable: {2})\n".format(
344343
host,
345344
failures,

0 commit comments

Comments
 (0)