Browse Source

Sensu: check name in backticks

master
Chris Smith 5 years ago
parent
commit
78be93203a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      main.py

+ 1
- 1
main.py View File

@@ -42,7 +42,7 @@ def handle_events(events):
42 42
             if state == "FAILING":
43 43
                 state = f"\0034{state}\003"
44 44
             services["irccat"].announce(
45
-                f"{event['check']['metadata']['name']} is now \002{state}\002\n{event['check']['output']}",
45
+                f"`{event['check']['metadata']['name']}` is now \002{state}\002\n{event['check']['output']}",
46 46
                 "#sensu",
47 47
             )
48 48
 

Loading…
Cancel
Save