浏览代码

proxy/grpcproxy: remove "Errors" field

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 年之前
父节点
当前提交
55505617df
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      proxy/grpcproxy/health.go

+ 0 - 3
proxy/grpcproxy/health.go

@@ -37,8 +37,5 @@ func checkHealth(c *clientv3.Client) etcdhttp.Health {
 	if err == nil || err == rpctypes.ErrPermissionDenied {
 		h.Health = "true"
 	}
-	if h.Health != "true" {
-		h.Errors = append(h.Errors, err.Error())
-	}
 	return h
 }