This is an automated email from the ASF dual-hosted git repository. littlecui pushed a commit to branch tmp in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
commit 59492e23d9c978f252d7a6a4a48785c9f8e5c6b7 Author: little-cui <[email protected]> AuthorDate: Wed Aug 3 11:04:50 2022 +0800 [fix]syncer health failure --- syncer/service/admin/health.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncer/service/admin/health.go b/syncer/service/admin/health.go index 5a6e1c49..8a23df9b 100644 --- a/syncer/service/admin/health.go +++ b/syncer/service/admin/health.go @@ -130,7 +130,7 @@ func getPeerStatus(peerName string, clientConn *grpc.ClientConn) string { set := client.NewSet(clientConn) reply, err := set.EventServiceClient.Health(context.Background(), &v1sync.HealthRequest{}) if err != nil || reply == nil { - log.Warn("health request is err") + log.Error("health request is err", err) return rpc.HealthStatusAbnormal } reportClockDiff(peerName, local, reply.LocalTimestamp)
