diff --git a/src/robusta/core/sinks/opsgenie/opsgenie_sink.py b/src/robusta/core/sinks/opsgenie/opsgenie_sink.py index 49388a606..10add6376 100644 --- a/src/robusta/core/sinks/opsgenie/opsgenie_sink.py +++ b/src/robusta/core/sinks/opsgenie/opsgenie_sink.py @@ -63,7 +63,7 @@ def __ack_alert(self, fingerprint: str, user: str, note: str): body = opsgenie_sdk.AcknowledgeAlertPayload( user=user, note=note, - source="Robusta Opsgenie Ack", + source="Robusta OpsGenie Ack", ) try: self.alert_api.acknowledge_alert( diff --git a/src/robusta/core/sinks/slack/slack_sink.py b/src/robusta/core/sinks/slack/slack_sink.py index aeeb44f97..1bef2c58c 100644 --- a/src/robusta/core/sinks/slack/slack_sink.py +++ b/src/robusta/core/sinks/slack/slack_sink.py @@ -92,7 +92,7 @@ def __replace_callback_with_string(self, slack_message, block_id, message_string Replace a specific block in a Slack message with a given string while preserving other blocks. Args: - json_message (dict): The JSON payload received from Slack. + slack_message (dict): The payload received from Slack. block_id (str): The ID of the block to replace. message_string (str): The text to replace the block content with. """ @@ -136,4 +136,4 @@ def __replace_callback_with_string(self, slack_message, block_id, message_string ) except Exception as e: - logging.exception(f"❌ Error updating Slack message: {e}") + logging.exception(f"Error updating Slack message: {e}")