Skip to content

Commit 827b974

Browse files
shyamshdShyam DharmarajanVeryEarly
authored
Fix parameter swap in hubvnet connection cmdlet (#12282)
* Fix parameter swap in hubvnet connection cmdlet * Update ChangeLog.md Co-authored-by: Shyam Dharmarajan <[email protected]> Co-authored-by: Yabo Hu <[email protected]>
1 parent b974a3c commit 827b974

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
@@ -19,6 +19,7 @@
1919
--->
2020

2121
## Upcoming Release
22+
* Fixed parameters swap in VWan HubVnet connection
2223
* Added new cmdlets for Azure Network Virtual Appliance Sites
2324
- `Get-AzVirtualApplianceSite`
2425
- `New-AzVirtualApplianceSite`

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)