Skip to content

Commit b0eb7b2

Browse files
committed
Removed Using prefix left in by error from previous version
1 parent 26b6a66 commit b0eb7b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assert-AutoShutdownSchedule.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ try
349349
{
350350
if($subscription.Count -eq 0)
351351
{
352-
throw "No accessible subscription found with name or ID [$Using:AzureSubscriptionName]. Check the runbook parameters and ensure user is a co-administrator on the target subscription."
352+
throw "No accessible subscription found with name or ID [$AzureSubscriptionName]. Check the runbook parameters and ensure user is a co-administrator on the target subscription."
353353
}
354354
elseif($subscriptions.Count -gt 1)
355355
{
356-
throw "More than one accessible subscription found with name or ID [$Using:AzureSubscriptionName]. Please ensure your subscription names are unique, or specify the ID instead"
356+
throw "More than one accessible subscription found with name or ID [$AzureSubscriptionName]. Please ensure your subscription names are unique, or specify the ID instead"
357357
}
358358
}
359359

0 commit comments

Comments
 (0)