diff --git a/CHANGELOG.md b/CHANGELOG.md index ae5f924d9..db984eccf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md) - SqlSetup - Refresh PowerShell drive list before attempting to resolve `setup.exe` path ([issue #1482](https://github.com/dsccommunity/SqlServerDsc/issues/1482)). +- SqlAG + - Fix hashtables to align with style guideline ([issue #1437](https://github.com/PowerShell/SqlServerDsc/issues/1437)). ## [13.4.0] - 2020-03-18 diff --git a/source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1 b/source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1 index 719055924..d55412f41 100644 --- a/source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1 +++ b/source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1 @@ -63,11 +63,11 @@ function Get-TargetResource # Create the return object. Default ensure to Absent. $alwaysOnAvailabilityGroupResource = @{ - Name = $Name - ServerName = $ServerName + Name = $Name + ServerName = $ServerName InstanceName = $InstanceName - Ensure = 'Absent' - IsActiveNode = $isActiveNode + Ensure = 'Absent' + IsActiveNode = $isActiveNode } if ( $availabilityGroup ) @@ -641,8 +641,8 @@ function Test-TargetResource $getTargetResourceParameters = @{ InstanceName = $InstanceName - ServerName = $ServerName - Name = $Name + ServerName = $ServerName + Name = $Name } # Assume this will pass. We will determine otherwise later