No-SilverBullet commented on code in PR #3018:
URL: https://github.com/apache/dubbo-go/pull/3018#discussion_r2329836741


##########
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:
   seems error always is nil, why add error return



-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to