Skip to content

Commit adc98f2

Browse files
author
Shyam Dharmarajan
committed
Fix parameter swap in hubvnet connection cmdlet
1 parent b974a3c commit adc98f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Network/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- `New-AzVirtualApplianceSkuProperty`
3535
* Onboard Application Gateway to Private Link Common Cmdlets
3636
* Onboard StorageSync to Private Link Common Cmdlets
37+
* Fix parameter swap in VWan HubVnet connection
3738

3839
## Version 3.1.0
3940
* Added support for AddressPrefixType parameter to `Remove-AzExpressRouteCircuitConnectionConfig`

src/Network/Network/Cortex/HubVnetConnection/HubVnetConnectionBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public PSHubVirtualNetworkConnection CreateOrUpdateHubVirtualNetworkConnection(s
5050
else
5151
{
5252
// Execute the create call and pass the custom headers.
53-
using (var _result = this.HubVirtualNetworkConnectionsClient.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, connectionName, virtualHubName, hubVirtualNetworkConnectionParameters, customHeaders).GetAwaiter().GetResult())
53+
using (var _result = this.HubVirtualNetworkConnectionsClient.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, virtualHubName, connectionName, hubVirtualNetworkConnectionParameters, customHeaders).GetAwaiter().GetResult())
5454
{
5555
hubVnetConnCreated = _result.Body;
5656
}

0 commit comments

Comments
 (0)