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

Fix trailing spaces in the snmp plugin config file #794

Merged
merged 2 commits into from
May 21, 2018

Conversation

smortex
Copy link
Member

@smortex smortex commented May 21, 2018

Pull Request (PR) description

Avoid creating lines with trailing white-spaces in the snmp configuration file.

This Pull Request (PR) fixes the following issues

n/a

@bastelfreak
Copy link
Member

Hi @smortex, thanks for the patch! Can you add a unit test that verifies the file content?

@bastelfreak bastelfreak added needs-tests bug Something isn't working labels May 21, 2018
@smortex
Copy link
Member Author

smortex commented May 21, 2018

@bastelfreak I was not sure if it added more value than clutter to the unit tests :-). I added a commit that updates the unit tests to anchor matching regexps to end-of-lines.

Thanks!

@bastelfreak bastelfreak merged commit 3b208d8 into voxpupuli:master May 21, 2018
@bastelfreak bastelfreak changed the title Fix trailing spaces Fix trailing spaces in the snmp plugin config file May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants