From 410068fe99cadf4a96939d705a1ef3e66aca1b23 Mon Sep 17 00:00:00 2001 From: Vadym Date: Fri, 26 Apr 2024 20:56:27 +0400 Subject: [PATCH] fix variable name and bracket position --- Get-AzWebJobStatus.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Get-AzWebJobStatus.ps1 b/Get-AzWebJobStatus.ps1 index 7c10632..e8a2626 100644 --- a/Get-AzWebJobStatus.ps1 +++ b/Get-AzWebJobStatus.ps1 @@ -120,7 +120,7 @@ Function Get-AzWebJobStatus{ <# else { # Get the publishing profile for the active deployment slot - $publishingProfileXml = Get-AzWebAppPublishingProfile -ResourceGroupName $resourceGroupName -Name $appName + $publishingProfileXml = Get-AzWebAppPublishingProfile -ResourceGroupName $RG -Name $appName # Load the XML into an XML document $publishingProfileDoc = [xml]$publishingProfileXml # Select the first publishing profile @@ -174,7 +174,7 @@ Function Get-AzWebJobStatus{ <# } - } + } }