proxy/grpcproxy: remove "Errors" field

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-01-17 14:38:39 -08:00
parent a9317d3d77
commit 55505617df

View File

@ -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
}