Skip to content

Commit

Permalink
Merge pull request #487 from openinfradev/snr_policy
Browse files Browse the repository at this point in the history
trivial. fix typo;
  • Loading branch information
cho4036 authored May 9, 2024
2 parents e19fa30 + 6347b5f commit b859e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/usecase/system-notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (u *SystemNotificationUsecase) Create(ctx context.Context, input domain.Cre
NotificationType: systemNotification.Annotations.AlertType,
}

if systemNotification.Annotations.AlertType != "POLICY_NOTIFICATION" {
if systemNotification.Annotations.AlertType == "POLICY_NOTIFICATION" {
dto.PolicyName = systemNotification.Annotations.PolicyName
}

Expand Down

0 comments on commit b859e4d

Please sign in to comment.