Skip to content

Commit

Permalink
Merge pull request #119 from Sooyoung98/master
Browse files Browse the repository at this point in the history
Changed url link that is part of the alert content to avoid 404 error
  • Loading branch information
Sooyoung98 authored Jan 25, 2024
2 parents 8b919b4 + e225870 commit 870daa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/monitoring/service/job_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def _make_alert_link(self, alert_id, workspace_id, domain_id):
domain_name = self._get_domain_name(domain_id)
console_domain = console_domain.format(domain_name=domain_name)

return f"{console_domain}/{workspace_id}/alert-manager/alert/{alert_id}"
return f"{console_domain}/workspace/{workspace_id}/alert-manager/alert/{alert_id}"

@cache.cacheable(key="domain-name:{domain_id}", expire=3600)
def _get_domain_name(self, domain_id):
Expand Down

0 comments on commit 870daa5

Please sign in to comment.