Skip to content

Commit 4f5e8d0

Browse files
committed
fix failed node for check-k8s
1 parent 257d77a commit 4f5e8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scripts/check-k8s.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ checkClusterResources() {
1515
if [ "${flagTimeout}" != "" ] ; then
1616
printf "\n%bCluster \"${context}\" not available...%b\n" "${RED}" "${STD}"
1717
else
18-
result="$(echo "${result}" | grep -v "Ready" | awk '{printf "%-18s %s\n", $2, $1}' | sort)"
18+
result="$(echo "${result}" | grep -v " Ready " | awk '{printf "%-18s %s\n", $2, $1}' | sort)"
1919
if [ "${result}" != "" ] ; then
2020
printf "\n%bSTATUS NODE%b\n${result}\n" "${GREEN}" "${STD}"
2121
fi

0 commit comments

Comments
 (0)