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

(GH-1158) Fix for dport/sport/state/ctstate/ctstatus comparisons #1160

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

david22swan
Copy link
Member

@david22swan david22swan commented Sep 14, 2023

dport/sport values were being compared incorrectly when passed as integers or with multiple negated array values.
state/ctstate/ctstatus values were being compared incorrectly when multiple negated values are passed.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

Values where being compared incorrectly when passed as integers or with multiple negated array values.
Values are being compared incorrectly when multiple negated values are passed.
Simplest fix is to fold code into `dport/sport` comparison.
@david22swan david22swan requested a review from a team as a code owner September 14, 2023 09:24
@Ramesh7 Ramesh7 merged commit 674c5d6 into puppetlabs:main Sep 14, 2023
37 checks passed
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.

3 participants