From 05196d047eb5a75d6afa3478eac0c476d92b3da6 Mon Sep 17 00:00:00 2001 From: ishaansehgal99 Date: Mon, 9 Oct 2023 18:06:43 -0700 Subject: [PATCH] fix --- .github/workflows/e2e-preset-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-preset-test.yml b/.github/workflows/e2e-preset-test.yml index 7ff39e4f1..f822b7e30 100644 --- a/.github/workflows/e2e-preset-test.yml +++ b/.github/workflows/e2e-preset-test.yml @@ -113,7 +113,8 @@ jobs: - name: Create Nodepool run: | NAME_SUFFIX=${{ matrix.image.name }} - TRUNCATED_NAME_SUFFIX=${NAME_SUFFIX: -12} + NAME_SUFFIX_WITHOUT_DASHES=${NAME_SUFFIX//-/} # Removing all '-' symbols + TRUNCATED_NAME_SUFFIX=${NAME_SUFFIX_WITHOUT_DASHES: -12} az aks nodepool add \ --name $TRUNCATED_NAME_SUFFIX \ --cluster-name new_demo \