-
Notifications
You must be signed in to change notification settings - Fork 929
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(config): Random ports can't be assgined #2384
Conversation
The condition of assigning a random port for protocols should be that port is less than or equal to 0, not the length of the port string. Fixes: apache#2382 Signed-off-by: Xuewei Niu <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## main #2384 +/- ##
==========================================
- Coverage 44.40% 44.10% -0.30%
==========================================
Files 305 305
Lines 18618 18623 +5
==========================================
- Hits 8267 8214 -53
- Misses 9482 9546 +64
+ Partials 869 863 -6
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The condition of assigning a random port for protocols should be that port
is less than or equal to 0, not the length of the port string.
Fixes: #2382