From c8c277200169dfadf88dd176e5c056967550e059 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 25 Aug 2019 03:49:35 +0200 Subject: Add remote services --- service/check_kaas.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service') 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 -- cgit v1.2.3