Skip to content

Commit

Permalink
Fix slack ui_link (Netflix#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-houssian authored Oct 14, 2024
1 parent 1a3070d commit 561c5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow/plugins/argo/argo_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ def _get_slack_blocks(self, message):
Use Slack's Block Kit to add general information about the environment and
execution metadata, including a link to the UI and an optional message.
"""
ui_link = "%s%s/argo-{{workflow.name}}" % (UI_URL, self.flow.name)
ui_link = "%s/%s/argo-{{workflow.name}}" % (UI_URL.rstrip("/"), self.flow.name)
# fmt: off
if getattr(current, "project_name", None):
# Add @project metadata when available.
Expand Down

0 comments on commit 561c5a9

Please sign in to comment.