Skip to content

Commit

Permalink
Merge pull request #32 from openinfradev/alert
Browse files Browse the repository at this point in the history
trivial. bugfix. change scheme to yaml from json
  • Loading branch information
ktkfree authored Apr 11, 2024
2 parents bb66cf1 + 93edb22 commit 40e5920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/server/system_notification_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ type RuleAnnotation struct {
Discriminative string `yaml:"discriminative"`
Message string `yaml:"message"`
Summary string `yaml:"summary"`
AlertType string `json:"alertType"`
SystemNotificationRuleId string `json:"systemNotificationRuleId"`
AlertType string `yaml:"alertType"`
SystemNotificationRuleId string `yaml:"systemNotificationRuleId"`
}

type RuleLabels struct {
Expand Down

0 comments on commit 40e5920

Please sign in to comment.