From 986ee793fe7c4474701a7405c9804ba0308a46fe Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Tue, 29 Oct 2019 21:06:45 +0100 Subject: [PATCH 1/3] - Changes to SqlServerDsc - Fix hashtables to align with style guideline (issue #1437). --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c569f319..47300134c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ 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)). + - Fix hashtables to align with style guideline ([issue #1437](https://github.com/PowerShell/SqlServerDsc/issues/1437)). ## [13.4.0] - 2020-03-18 From 893a17591f61e536c47272d1248bd63be3201d14 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sat, 2 Nov 2019 13:15:34 +0100 Subject: [PATCH 2/3] Update hashtables --- source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 From 482a4ddab900fbb4d4330807087a02fe89947a41 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sat, 29 Feb 2020 03:14:28 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47300134c..7864ba8a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ 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