Skip to content

Commit 74ba417

Browse files
author
Slavek Kabrda
committed
Remove extraneous call of hostname conversion
1 parent 8b7cc45 commit 74ba417

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)