Browse Source

proxy/grpcproxy: remove "Errors" field

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 years ago
parent
commit
55505617df
1 changed files with 0 additions and 3 deletions
  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
 }