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

Using constant values instead of reassigning variables in each check run #17749

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

mrafi97
Copy link
Contributor

@mrafi97 mrafi97 commented Jun 5, 2024

What does this PR do?

Moving some variables to be constants in the ServiceView class rather than being reassigned in each check loop.

Motivation

#17657 (comment)
https://datadoghq.atlassian.net/browse/WINA-795

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

iglendd
iglendd previously approved these changes Jun 5, 2024
Copy link
Contributor

@iglendd iglendd left a comment

Choose a reason for hiding this comment

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

perfect

@julien-lebot julien-lebot merged commit 415d227 into master Jun 6, 2024
40 checks passed
@julien-lebot julien-lebot deleted the mrafi/windows_service_fix branch June 6, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants