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

Correct versioncmp logic in config.pp #1137

Merged
merged 1 commit into from Feb 5, 2020

Conversation

boydtom
Copy link
Contributor

@boydtom boydtom commented Feb 4, 2020

This is a bit embarrassing but my last patch, although not breaking anything from prior state, also will not actually work as intended. Version comparison works but versioncmp produces results of -1, 0 or 1 and must be compared against that result.

This fix I tested more thoroughly. :) Sorry for the hassle.

@boydtom boydtom requested a review from a team as a code owner February 4, 2020 17:41
@sanfrancrisko
Copy link
Contributor

@boydtom I should have caught this in the review, so there's at least equal, if not more blame on myself! Thanks for getting a fix together so quickly.

@sanfrancrisko sanfrancrisko changed the title Correct comparison versioncmp so it works Correct versioncmp logic in config.pp Feb 5, 2020
@sanfrancrisko sanfrancrisko merged commit d5d7444 into puppetlabs:master Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants