Skip to content

Commit

Permalink
fix failed node for check-k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrand committed Aug 7, 2024
1 parent 257d77a commit 4f5e8d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/check-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ checkClusterResources() {
if [ "${flagTimeout}" != "" ] ; then
printf "\n%bCluster \"${context}\" not available...%b\n" "${RED}" "${STD}"
else
result="$(echo "${result}" | grep -v "Ready" | awk '{printf "%-18s %s\n", $2, $1}' | sort)"
result="$(echo "${result}" | grep -v " Ready " | awk '{printf "%-18s %s\n", $2, $1}' | sort)"
if [ "${result}" != "" ] ; then
printf "\n%bSTATUS NODE%b\n${result}\n" "${GREEN}" "${STD}"
fi
Expand Down

0 comments on commit 4f5e8d0

Please sign in to comment.