CAICAIIs opened a new pull request, #3018: URL: https://github.com/apache/dubbo-go/pull/3018
## Description This PR fixes RPC method signature validation warnings for health server methods and improves server configuration handling. ## Problem The following warnings were being generated due to incorrect RPC method signatures: ``` 2025-09-04 15:25:16 WARN common/rpc_service.go:382 method Resume of mtype func(health.HealthTripleServer) has wrong number of in out parameters 0; needs exactly 1/2 2025-09-04 15:25:16 WARN common/rpc_service.go:382 method SetServingStatus of mtype func(health.HealthTripleServer, string, triple_health.HealthCheckResponse_ServingStatus) has wrong number of in out parameters 0; needs exactly 1/2 2025-09-04 15:25:16 WARN common/rpc_service.go:382 method Shutdown of mtype func(health.HealthTripleServer) has wrong number of in out parameters 0; needs exactly 1/2 ``` These warnings occur because the RPC service validation in `common/rpc_service.go` requires methods to have 1 or 2 return values (with the last one being `error`), but the health server methods had no return values. Additionally, unnecessary warnings about missing service configurations were being shown when using the new server API without config files. Related to apache/dubbo-go-samples#910 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
