Skip to content

Commit 3c98215

Browse files
authored
Fix Alertmanager ApplyConfig func error handling (#6650)
Signed-off-by: SungJin1212 <[email protected]>
1 parent 036d545 commit 3c98215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/alertmanager/alertmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ func (am *Alertmanager) ApplyConfig(userID string, conf *config.Config, rawCfg s
395395
return notifier
396396
})
397397
if err != nil {
398-
return nil
398+
return err
399399
}
400400

401401
timeIntervals := make(map[string][]timeinterval.TimeInterval, len(conf.MuteTimeIntervals)+len(conf.TimeIntervals))

0 commit comments

Comments
 (0)