-
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: health.proto has name conflict with the one in google.golang.org/grpc #2395
Conversation
…/grpc health check in "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3/health/triple_health_v1" conflicts with the one in "google.golang.org/grpc/health/grpc_health_v1". Fixes apache#2394
@@ -80,11 +75,11 @@ func (x HealthCheckResponse_ServingStatus) String() string { | |||
} | |||
|
|||
func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor { | |||
return file_protocol_dubbo3_health_triple_health_v1_health_proto_enumTypes[0].Descriptor() | |||
return file_health_proto_enumTypes[0].Descriptor() |
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.
Why is this function changed?
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.
Is your triple protoc right?
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.
yes,it is auto-gen by protoc. command to generate:
protoc --go_out=. --go_opt paths=source_relative --go-triple_out=. ./health.proto --go-triple_opt paths=source_relative
Btw, you need to add an Apache license for those files. |
Kudos, SonarCloud Quality Gate passed! |
@justxuewei already updated |
Codecov Report
@@ Coverage Diff @@
## main #2395 +/- ##
==========================================
- Coverage 44.85% 44.37% -0.48%
==========================================
Files 307 303 -4
Lines 18786 18411 -375
==========================================
- Hits 8426 8170 -256
+ Misses 9479 9377 -102
+ Partials 881 864 -17 see 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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
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, thanks!
health check in "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3/health/triple_health_v1" conflicts with the one in "google.golang.org/grpc/health/grpc_health_v1".
Fixes #2394