File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
source/DSCResources/DSC_SqlConfiguration Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424 - Fix localization strings in ` Assert ` method.
2525- ` Save-SqlDscSqlServerMediaFile `
2626 - Fix localizations strings that used wrong keys.
27+ - ` SqlConfiguration `
28+ - Change the alias command to real command name, to pass HQRM tests.
2729
2830## [ 17.0.0] - 2024-09-30
2931
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function Get-TargetResource
7474 if (-not $option )
7575 {
7676 $errorMessage = $script :localizedData.ConfigurationOptionNotFound -f $OptionName
77- New-InvalidArgumentException - ArgumentName ' OptionName' - Message $errorMessage
77+ New-ArgumentException - ArgumentName ' OptionName' - Message $errorMessage
7878 }
7979
8080 Write-Verbose - Message (
@@ -157,7 +157,7 @@ function Set-TargetResource
157157 if (-not $option )
158158 {
159159 $errorMessage = $script :localizedData.ConfigurationOptionNotFound -f $OptionName
160- New-InvalidArgumentException - ArgumentName ' OptionName' - Message $errorMessage
160+ New-ArgumentException - ArgumentName ' OptionName' - Message $errorMessage
161161 }
162162
163163 $option.ConfigValue = $OptionValue
You can’t perform that action at this time.
0 commit comments