Skip to content

Commit 75b6ab7

Browse files
committed
output array without any newline characters.
1 parent fdad8af commit 75b6ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weblogic-azure-aks/src/main/arm/scripts/inline-scripts/validateParameters.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ function validate_appgateway_vnet() {
598598

599599
function query_available_zones() {
600600
if [[ "${createAKSCluster,,}" == "true" ]]; then
601-
outputAvailableZones=$(az vm list-skus -l ${location} --size ${aksAgentPoolVMSize} --zone true | jq '.[] | .locationInfo[] | .zones')
601+
outputAvailableZones=$(az vm list-skus -l ${location} --size ${aksAgentPoolVMSize} --zone true | jq -c '.[] | .locationInfo[] | .zones')
602602
fi
603603

604604
if [ -z "${outputAvailableZones}" ]; then

0 commit comments

Comments
 (0)