Skip to content

Commit

Permalink
SqlServerDsc: Change type for property Reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Feb 26, 2023
1 parent f6ce795 commit cc10bf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
output a warning to install any of the dependent modules.
- Add empty constructor to classes to be able to use Pester's new code
coverage method. See more information can be found in [pester/Pester#2306](https://github.com/pester/Pester/issues/2306).
- The type of the property `Reasons` was changed in the class-based resources.
This resolves a problem when using two DSC resource modules that was
using the same class-type for the property `Reasons`. Resolves the issues
[issue #1831](https://github.com/dsccommunity/SqlServerDsc/issues/1831),
[issue #1832](https://github.com/dsccommunity/SqlServerDsc/issues/1832),
and [issue #1833](https://github.com/dsccommunity/SqlServerDsc/issues/1833).
- `Install-SqlServerDsc`
- No longer throws an exception when parameter `AgtSvcAccount` is not specified.
- SqlAgReplica
Expand Down
2 changes: 1 addition & 1 deletion source/Classes/011.SqlResourceBase.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SqlResourceBase : ResourceBase
$Credential

[DscProperty(NotConfigurable)]
[Reason[]]
[System.Collections.Hashtable[]]
$Reasons

# Passing the module's base directory to the base constructor.
Expand Down

0 comments on commit cc10bf2

Please sign in to comment.