From 55549fa02399135157e0631b703205cc8ff87eab Mon Sep 17 00:00:00 2001 From: LawiK974 Date: Wed, 12 Jun 2024 12:06:02 +0200 Subject: [PATCH] Reducing mattermost message title size --- kube_notify/mattermost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube_notify/mattermost.py b/kube_notify/mattermost.py index 1e215f5..79cc9e7 100644 --- a/kube_notify/mattermost.py +++ b/kube_notify/mattermost.py @@ -16,7 +16,7 @@ def send_mattermost_message( ) -> None: # Construct the HTTP request for sending a message to Mattermost headers = {"Content-Type": "application/json"} - message = f"#### {title} : {description}\n" + message = f"##### {title} : {description}\n" for key, value in fields.items(): message += f"**{key} :** {value}\n"