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

Convert $priority to integer before comparison #689

Merged
merged 1 commit into from
Oct 2, 2015
Merged

Convert $priority to integer before comparison #689

merged 1 commit into from
Oct 2, 2015

Conversation

erikanderson
Copy link
Contributor

Comparison was causing an error with parser = future and stringify_facts = false. This ensures that the comparison is done between two integers

Fixes: #684

Comparison was causing an error with parser = future and stringify_facts = false. This ensures that the comparison is done between two integers
@jfryman
Copy link
Contributor

jfryman commented Oct 2, 2015

Very nice. Thank you for the code!

jfryman added a commit that referenced this pull request Oct 2, 2015
Convert $priority to integer before comparison
@jfryman jfryman merged commit 4515925 into voxpupuli:master Oct 2, 2015
@erikanderson
Copy link
Contributor Author

Thanks for merging this in but we were looking in our code and found that we were mistakenly setting this value to an string. The code I added will still work but I think it is unnecessary.

maxenced added a commit to maxenced/puppet-nginx that referenced this pull request Jul 19, 2016
slm0n87 pushed a commit to slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
Convert $priority to integer before comparison
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