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

NAS-129756 / 24.04.3 / Do not spam logs with alert formatting errors #13938

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

themylogin
Copy link
Contributor

No description provided.

@themylogin themylogin requested a review from yocalebo June 27, 2024 09:44
@bugclerk bugclerk changed the title Do not spam logs with alert formatting errors NAS-129756 / 24.04.3 / Do not spam logs with alert formatting errors Jun 27, 2024
@bugclerk
Copy link
Contributor


if self.args:
try:
return self.text % (tuple(self.args) if isinstance(self.args, list) else self.args)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This can be removed because default self.klass.format implementation does the same already (and it is not overridden by any existing alert class).

@themylogin
Copy link
Contributor Author

time 0:10

@yocalebo yocalebo merged commit 6a076ba into stable/dragonfish Jun 27, 2024
1 of 2 checks passed
@yocalebo yocalebo deleted the NAS-129756 branch June 27, 2024 10:35
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants