From f3afca1f794cbabcba4d8afc5edc25c22609f63a Mon Sep 17 00:00:00 2001 From: marcobebway Date: Thu, 29 Aug 2024 10:46:09 +0200 Subject: [PATCH] Fix script --- scripts/gardener/aws/provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gardener/aws/provision.sh b/scripts/gardener/aws/provision.sh index e0433266..3489b9ae 100755 --- a/scripts/gardener/aws/provision.sh +++ b/scripts/gardener/aws/provision.sh @@ -35,7 +35,7 @@ gardener::validate_and_default() { utils::check_required_vars "${requiredVars[@]}" # validations - if [ "${CLUSTER_NAME}" -gt 9 ]; then + if [ "${#CLUSTER_NAME}" -gt 9 ]; then log::error "Provided cluster name is too long" return 1 fi