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

Update regular expression #92

Merged
merged 7 commits into from
Sep 21, 2022
Merged

Conversation

abravosuse
Copy link
Contributor

@abravosuse abravosuse commented Sep 20, 2022

Updating the regular expression for checks 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 1.1.8 in order to allow blank spaces before the colon.

Updating the regular expression for checks 1.1.2, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 1.1.8 in order to allow blank spaces before the colon.
Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

LGTM

@abravosuse
Copy link
Contributor Author

@arbulu89 since you were the last one to work on this regular expression, I request that you review this change -please- before merging to main. I've tried to add you as reviewer but it looks like I'm not allowed.

The reason for the change is to allow blank spaces before the colon. As it is right now, the checks fail when such spaces are found. Thank you!

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

@abravosuse Its fine from my side.
Where did you find this scenario? When the corosync.conf file is autogenerated we don't have such a spaces. Is it a "lab/testing" env? In this case, it should be as simple as testing the with this changes I guess

@abravosuse
Copy link
Contributor Author

Thank you @arbulu89 . This scenario is part of the test kit developed by the Checks Team. For each check in the catalog, there is a number of test cases or scenarios that the kit stages before running the check. Adding blank spaces to entries in configuration files is one of them.

@arbulu89 arbulu89 merged commit 0e0fa3a into trento-project:main Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants