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
registry type support all #2140
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.0 #2140 +/- ##
==========================================
+ Coverage 44.33% 44.39% +0.05%
==========================================
Files 283 283
Lines 17082 17082
==========================================
+ Hits 7574 7584 +10
+ Misses 8715 8703 -12
- Partials 793 795 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
config/registry_config.go
Outdated
| return urls, nil | ||
| } | ||
|
|
||
| if c.RegistryType == constant.RegistryTypeService { |
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.
用switch 也许更好一些
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.
是哦,我来修改下
|
看了下 samples ci 错误,依赖的 gost 1.13.2 nacos v1 所以失败了 |
|
Kudos, SonarCloud Quality Gate passed! |
* registry type support all * fix test * set default to interface * use default protocol registry * fix unit test * use swith to judge * add registry support all test * Resolve registry name conflicts * fix ut err Co-authored-by: bobtthp <bobtthp@bob-Mac-mini.local> Co-authored-by: bob <bob@bobdeMacBook-Pro.local> Co-authored-by: bobtthp <bobtthp@bob1.local>








What this PR does:
#2095
Which issue(s) this PR fixes:
Fixes #
You should pay attention to items below to ensure your pr passes our ci test
We do not merge pr with ci tests failed