CAICAIIs commented on code in PR #3018:
URL: https://github.com/apache/dubbo-go/pull/3018#discussion_r2330538329
##########
protocol/triple/health/healthServer.go:
##########
@@ -117,15 +117,16 @@ func (srv *HealthTripleServer) Watch(ctx context.Context,
request *triple_health
// SetServingStatus is called when need to reset the serving status of a
service
// or insert a new service entry into the statusMap.
-func (srv *HealthTripleServer) SetServingStatus(service string, servingStatus
triple_health.HealthCheckResponse_ServingStatus) {
+func (srv *HealthTripleServer) SetServingStatus(service string, servingStatus
triple_health.HealthCheckResponse_ServingStatus) error {
Review Comment:
I thought this might be more standard. If this change isn't appropriate, I
can revert it and remove the 'error'.
--
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]