Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(notify): optimize content of message #2192

Merged
merged 1 commit into from
Dec 1, 2022
Merged

feat(notify): optimize content of message #2192

merged 1 commit into from
Dec 1, 2022

Conversation

willzgli
Copy link
Collaborator

  1. change alert time to local time
  2. avoid using htlm escape charactors in message

@willzgli willzgli requested a review from choujimmy as a code owner November 30, 2022 15:55
summary = fmt.Sprintf("%s %s", summary, evaluateValue)
}
unitValue := annotations[unitKey]
evaluateTypeValue := annotations[evaluateTypeKey]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this anno from

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please refer L203 of this file

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I means that who gaves this anno? This anno may be empty, maybe not be set.

1. change alert time to local time
2. avoid using htlm escape charactors in message
@leoryu leoryu merged commit e836e99 into tkestack:master Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants