mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
proxy/grpcproxy: remove "Errors" field
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
a9317d3d77
commit
55505617df
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user