Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobebway committed Aug 29, 2024
1 parent 9211171 commit f3afca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gardener/aws/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3afca1

Please sign in to comment.