-
Notifications
You must be signed in to change notification settings - Fork 225
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
SqlRole: Fix default for ServerName #1597
SqlRole: Fix default for ServerName #1597
Conversation
Looks like this issue was fixed in several other places such as SqlDatabasePermission but was missed here...
Codecov Report
@@ Coverage Diff @@
## master #1597 +/- ##
======================================
Coverage 98% 98%
======================================
Files 37 37
Lines 6082 6082
======================================
Hits 5978 5978
Misses 104 104
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3.
Reviewable status: complete! all files reviewed, all discussions resolved
@cmcapellan thank you for fixing this! I will release a patch version tomorrow. |
@johlju thanks for approving my PR! Looking forward to your release as I need this for a project I'm working on... |
Pushed a full release now, if the test passes it will be deployed within 3 hours. There have recently been some intermittent issues when running integration tests which makes me need to re-run them manually. :/ |
Great, thanks again! Now working on how to pass two variables with |
It uses |
Hi @johlju I see v14.2.0-preview0005 is released and there is alos 14.2 tag, are you going to release 14.2 in the next few hours? |
@johlju I see it now 😀 Thanks! |
Pull Request (PR) description
Fixed:
ServerName
paramer is optional and defaults to$env:COMPUTERNAME
, butTest-TargetResource
uses the$PSBoundParameters
automatic variable which ignores default values for parameters. Looks like this was fixed by BREAKING CHANGE: SqlServerDsc: Make parameter ServerName non-mandatory #1503 in several other places such asSqlDatabasePermission
but was missed here.This Pull Request (PR) fixes the following issues
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
This change is