mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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