From 74ba417f2b59cf2cf88aaf294e41b62c9dceedf7 Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Fri, 7 May 2021 14:17:31 +0200 Subject: [PATCH] Remove extraneous call of hostname conversion --- datadog_callback.py | 1 - 1 file changed, 1 deletion(-) diff --git a/datadog_callback.py b/datadog_callback.py index 33b167a..3379aca 100644 --- a/datadog_callback.py +++ b/datadog_callback.py @@ -339,7 +339,6 @@ def playbook_on_stats(self, stats): event_title += ' with errors' event_text += "\nErrors occurred on the following hosts:\n%%%\n" for host, failures, unreachable in error_hosts: - host = self.get_dd_hostname(host) event_text += "- `{0}` (failure: {1}, unreachable: {2})\n".format( host, failures,