etcdctl: cluster health exit with non-zero when cluster is unhealthy
This commit is contained in:
@ -27,6 +27,7 @@ const (
|
||||
ExitBadConnection
|
||||
ExitBadAuth
|
||||
ExitServerError
|
||||
ExitClusterNotHealthy
|
||||
)
|
||||
|
||||
func handleError(code int, err error) {
|
||||
|
Reference in New Issue
Block a user