Skip to content

Commit 1bdb15b

Browse files
Merge pull request #262631 from MayankBargali-MSFT/patch-107
(AzureCXP) fixed powershell sample
2 parents 720d37d + 1c13fc1 commit 1bdb15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/migrate-dotnet-to-isolated-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ $AppInfo = @{}
3333
3434
foreach ($App in $FunctionApps)
3535
{
36-
if ($App.ApplicationSettings["FUNCTIONS_WORKER_RUNTIME"] -eq 'dotnet')
36+
if ($App.Runtime -eq 'dotnet')
3737
{
38-
$AppInfo.Add($App.Name, $App.ApplicationSettings["FUNCTIONS_WORKER_RUNTIME"])
38+
$AppInfo.Add($App.Name, $App.Runtime)
3939
}
4040
}
4141

0 commit comments

Comments
 (0)