Skip to content

Commit c793434

Browse files
committed
fix check-k8s
1 parent 9978c7d commit c793434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scripts/check-k8s.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ checkClusterResources() {
8989
#--- Check crossplane not synched resources
9090
result="$(kubectl get crossplane -A --request-timeout=1s -o json 2>/dev/null | jq -r '.items[]|{kind} + .metadata + .status.conditions[]?|select((.type == "Synced") and .status == "False")|.kind + " " + .name + " " + .status')"
9191
if [ "${result}" != "" ] ; then
92-
printf "\n\n%bKIND CROSSPLANE_NAME SYNCED%b\n${result}" "${GREEN}" "${STD}" | column -t
92+
printf "\n" ; printf "%bKIND CROSSPLANE_NAME SYNCED%b\n${result}" "${GREEN}" "${STD}" | column -t
9393
fi
9494
fi
9595
}

0 commit comments

Comments
 (0)