Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add check notification urgency of project in alert service #31

Merged
merged 2 commits into from
Jan 19, 2023

Conversation

stat-kwon
Copy link
Member

Signed-off-by: seolmin seolmin@megazone.com

Category

  • New feature
  • Bug fix
  • Improvement
  • Refactor
  • etc

Description

  • add check notification urgency of project in alert service

Known issue

@stat-kwon stat-kwon added the bug Something isn't working label Jan 19, 2023
@stat-kwon stat-kwon self-assigned this Jan 19, 2023
@@ -65,7 +65,8 @@ def create(self, params):

alert_vo = self.alert_mgr.create_alert(params)

self._create_notification(alert_vo, 'create_alert_notification')
if self._check_notification_urgency(alert_vo.urgency, project_alert_config_vo):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alert notification based on the alert's urgency is already checked in job progress.
So please remove this code.

Copy link
Member

@whdalsrnt whdalsrnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@whdalsrnt whdalsrnt merged commit 6abfecc into cloudforet-io:master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants