Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit cc5a2e5

Browse files
vladvinoerickson-doug
authored andcommitted
Fixed variable name (#142)
1 parent da1c8ea commit cc5a2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-management/import-api-and-add-to-product/import_an_api_and_add_to_product.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
2929
New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apimServiceName -Location $location -Organization $organisation -AdminEmail $adminEmail
3030

3131
# Create the API Management context
32-
$context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
32+
$context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $apimServiceName
3333

3434
# import api from Url
3535
$api = Import-AzureRmApiManagementApi -Context $context -SpecificationUrl $swaggerUrl -SpecificationFormat Swagger -Path $apiPath

0 commit comments

Comments
 (0)