From 928971b24f328ba2a8873bca84d18738946f5106 Mon Sep 17 00:00:00 2001 From: pradeepjha-microsoft Date: Fri, 6 Dec 2024 13:29:18 +0530 Subject: [PATCH] remove $fqdn= $null --- Deployment/resourcedeployment.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Deployment/resourcedeployment.ps1 b/Deployment/resourcedeployment.ps1 index b3806cd5..35a5342a 100644 --- a/Deployment/resourcedeployment.ps1 +++ b/Deployment/resourcedeployment.ps1 @@ -667,8 +667,8 @@ try { az network public-ip update --resource-group $aksResourceGroupName --name $publicIpName --dns-name $dnsName # 6-4. Get FQDN for the public IP address - #$fqdn = az network public-ip show --resource-group $aksResourceGroupName --name $publicIpName --query "dnsSettings.fqdn" --output tsv - $fqdn = $null + $fqdn = az network public-ip show --resource-group $aksResourceGroupName --name $publicIpName --query "dnsSettings.fqdn" --output tsv + # Validate if the FQDN is null or empty ValidateVariableIsNullOrEmpty -variableValue $fqdn -variableName "FQDN"