Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Jan 7, 2025
1 parent 4ed670e commit bfeeb99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/robusta/core/sinks/opsgenie/opsgenie_sink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions src/robusta/core/sinks/slack/slack_sink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down Expand Up @@ -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}")

0 comments on commit bfeeb99

Please sign in to comment.