diff options
Diffstat (limited to 'service/check_kaas.sh')
-rwxr-xr-x | service/check_kaas.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/check_kaas.sh b/service/check_kaas.sh index 792cf55..546bef5 100755 --- a/service/check_kaas.sh +++ b/service/check_kaas.sh @@ -29,7 +29,7 @@ if [ $healthy -ne 0 ]; then ready=$(echo "$nodes" | grep Ready | wc -l) active=$(echo "$nodes" | grep Ready | grep -vi SchedulingDisabled | wc -l) if [ $ready -ge $e_nodes ]; then - nodes=" / \${color gray}$etcd etcd, $ready nodes" + nodes=" \${color gray}/ $etcd etcd, $ready nodes" if [ $active -ne $ready ]; then nodes="$nodes ($active active)" fi @@ -37,7 +37,7 @@ if [ $healthy -ne 0 ]; then echo "$nodes" | grep -v "STATUS" | grep -v "Ready" | awk '{ print $1, $2 }' | sed 's/^/* /' offline=$(echo "$nodes" | grep -v "STATUS" | grep -v "Ready" | wc -l) - nodes=" / \${color gray}$etcd etcd, $ready ready, $offline offline" + nodes=" \${color gray}/ $etcd etcd, $ready ready, $offline offline" healthy=2 fi fi |