Skip to content

Commit

Permalink
Reducing mattermost message title size
Browse files Browse the repository at this point in the history
  • Loading branch information
LawiK974 committed Jun 12, 2024
1 parent 5847f04 commit 7bb742e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_notify/mattermost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7bb742e

Please sign in to comment.