This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 4820627d4 Fix healthcheck, SERVING by default
4820627d4 is described below

commit 4820627d471aefc079fc4575d92481fc17e8802a
Author: chickenlj <[email protected]>
AuthorDate: Mon Aug 19 15:38:16 2024 +0800

    Fix healthcheck, SERVING by default
---
 protocol/triple/health/healthServer.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocol/triple/health/healthServer.go 
b/protocol/triple/health/healthServer.go
index 5bd89063e..fbd4694c4 100644
--- a/protocol/triple/health/healthServer.go
+++ b/protocol/triple/health/healthServer.go
@@ -51,7 +51,7 @@ var healthServer *HealthTripleServer
 
 func NewServer() *HealthTripleServer {
        return &HealthTripleServer{
-               statusMap: 
map[string]triple_health.HealthCheckResponse_ServingStatus{"": 
triple_health.HealthCheckResponse_NOT_SERVING},
+               statusMap: 
map[string]triple_health.HealthCheckResponse_ServingStatus{"": 
triple_health.HealthCheckResponse_SERVING},
                updates:   
make(map[string]map[triple_health.Health_WatchServer]chan 
triple_health.HealthCheckResponse_ServingStatus),
        }
 }

Reply via email to