-
Notifications
You must be signed in to change notification settings - Fork 172
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】修复路由规则配置不正确的情况下,有可能出现的npe #1080
Conversation
Codecov ReportBase: 45.65% // Head: 45.67% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #1080 +/- ##
=============================================
+ Coverage 45.65% 45.67% +0.02%
- Complexity 2989 3028 +39
=============================================
Files 689 700 +11
Lines 15163 15357 +194
Branches 1698 1702 +4
=============================================
+ Hits 6923 7015 +92
- Misses 7377 7470 +93
- Partials 863 872 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
0077af9
...outer-config-common/src/main/java/com/huaweicloud/sermant/router/config/utils/RuleUtils.java
Show resolved
Hide resolved
...service/src/main/java/com/huaweicloud/sermant/router/config/handler/RouterConfigHandler.java
Show resolved
Hide resolved
...ervice/src/main/java/com/huaweicloud/sermant/router/config/handler/ServiceConfigHandler.java
Show resolved
Hide resolved
...outer-config-common/src/main/java/com/huaweicloud/sermant/router/config/utils/RuleUtils.java
Outdated
Show resolved
Hide resolved
@hanbingleixue 这个PR记得的合入1.0.x 中bugfix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
【修复issue】 #1079
【修改内容】解析路由规则后,移除不合法的规则
【用例描述】不需要修改用例
【自测情况】1、新增非法路由规则,2、解析规则不再报空指针
【影响范围】1、对用户的使用没有影响