Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqlAG: Fix hashtables to align with style guideline #1494

Merged
merged 4 commits into from
Apr 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions source/DSCResources/MSFT_SqlAG/MSFT_SqlAG.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down Expand Up @@ -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
Expand Down