Skip to content

Commit

Permalink
Merge pull request #24 from microsoft/psl-dkm-us-11110
Browse files Browse the repository at this point in the history
remove $fqdn= $null
  • Loading branch information
pradeepjha-microsoft authored Dec 6, 2024
2 parents ea42bdd + 928971b commit c0040ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Deployment/resourcedeployment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c0040ed

Please sign in to comment.