From a01230aea24720a28fe6d555ec8a7040f7cc19c1 Mon Sep 17 00:00:00 2001 From: Rasmus Werling Date: Wed, 14 Aug 2024 10:48:12 +0300 Subject: [PATCH] Remove -n flags from echo lines. --- cmd/ciReleaseCleanfailed.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ciReleaseCleanfailed.go b/cmd/ciReleaseCleanfailed.go index a22a9c8..bc35255 100644 --- a/cmd/ciReleaseCleanfailed.go +++ b/cmd/ciReleaseCleanfailed.go @@ -30,10 +30,10 @@ var ciReleaseCleanfailedCmd = &cobra.Command{ kubectl delete pvc -n "${NAMESPACE}" -l release="${RELEASE_NAME}" kubectl delete pvc -n "${NAMESPACE}" -l app="${RELEASE_NAME}-es" - echo -n "Waiting for volumes to be deleted." + echo "Waiting for volumes to be deleted." until [[ -z $(kubectl get pv | grep "${NAMESPACE}/${RELEASE_NAME}-") ]] do - echo -n "." + echo "." sleep 5 done fi