Skip to content

Commit

Permalink
proxy/grpcproxy: remove "Errors" field
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Jan 17, 2018
1 parent e83702e commit c4e123e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions proxy/grpcproxy/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c4e123e

Please sign in to comment.