Skip to content

Commit

Permalink
delete short_message (erda-project#3195) (erda-project#3201)
Browse files Browse the repository at this point in the history
Co-authored-by: panjiayao <44628544+Counterflowwind@users.noreply.github.com>
  • Loading branch information
erda-bot and Counterflowwind authored Nov 26, 2021
1 parent 44ef461 commit e3f0473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/monitor/alert/alert-apis/adapt/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ func (a *Adapt) NotifyTargetsKeys(code i18n.LanguageCodes, config map[string]boo
for item := range config {
if item == shortMessage {
keys = append(keys, &pb.DisplayKey{Key: SMS, Display: a.t.Text(code, SMS)})
continue
}
keys = append(keys, &pb.DisplayKey{Key: item, Display: a.t.Text(code, item)})
}
Expand Down

0 comments on commit e3f0473

Please sign in to comment.