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

modules: snmp_config: multiple fixes #13

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Conversation

cpaillet
Copy link
Collaborator

@cpaillet cpaillet commented Jul 4, 2024

  • Avoid restarting snmp.service if the configuration hasn't changed.
  • In test mode, check if a change is needed. If a change is required, set "result" to None; otherwise, set it to True.

needed by  black linter
- Prevent snmp.service from restarting if the configuration remains unchanged.
- In test mode, determine if a change is needed. Set the result to None if a change is required;
  otherwise, set it to True.
@cpaillet cpaillet merged commit 9150238 into criteo:main Jul 8, 2024
4 checks passed
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.

2 participants