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 <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Jan 17, 2018
1 parent 8455f22 commit e689ff8
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 e689ff8

Please sign in to comment.