Skip to content

Commit

Permalink
add comment explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer-chen-rh committed Jun 18, 2024
1 parent d753a08 commit 8dc7d1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/service/alarm_notification_searcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ func (h *alarmNotificationHandler) getSubscriptionIdsFromAlarm(ctx context.Conte
path = fmt.Sprintf(`.%s`, path)
err := h.jqTool.Evaluate(path, alarm, &alarmPath)

//when error != nil
//the path does not match we do not need to go next step
if err == nil {
for subId := range subSet {

Expand Down

0 comments on commit 8dc7d1e

Please sign in to comment.