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

SqlRole: Fix default for ServerName #1597

Merged
merged 3 commits into from
Jul 22, 2020

Conversation

cmcapellan
Copy link
Contributor

@cmcapellan cmcapellan commented Jul 22, 2020

Pull Request (PR) description

Fixed:

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry to the change log under the Unreleased section of the
    file CHANGELOG.md. Entry should say what was changed and how that
    affects users (if applicable), and reference the issue being resolved
    (if applicable).
  • Resource documentation updated in the resource's README.md.
  • Resource parameter descriptions updated in schema.mof.
  • Comment-based help updated, including parameter descriptions.
  • Localization strings updated.
  • Examples updated.
  • Unit tests updated. See DSC Community Testing Guidelines.
  • Integration tests updated (where possible). See DSC Community Testing Guidelines.
  • Code changes adheres to DSC Community Style Guidelines.

This change is Reviewable

Looks like this issue was fixed in several other places such as SqlDatabasePermission but was missed here...
@cmcapellan cmcapellan changed the title SqlRole: Fix default for $ServerName SqlRole: Fix default for ServerName Jul 22, 2020
@codecov
Copy link

codecov bot commented Jul 22, 2020

Codecov Report

Merging #1597 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1597   +/-   ##
======================================
  Coverage      98%     98%           
======================================
  Files          37      37           
  Lines        6082    6082           
======================================
  Hits         5978    5978           
  Misses        104     104           
Flag Coverage Δ
#unit 98% <100%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
source/DSCResources/DSC_SqlRole/DSC_SqlRole.psm1 99% <100%> (ø)

@johlju johlju added the needs review The pull request needs a code review. label Jul 22, 2020
Copy link
Member

@johlju johlju left a 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: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Member

@johlju johlju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@johlju johlju merged commit 25a5963 into dsccommunity:master Jul 22, 2020
@johlju johlju removed the needs review The pull request needs a code review. label Jul 22, 2020
@johlju
Copy link
Member

johlju commented Jul 22, 2020

@cmcapellan thank you for fixing this! I will release a patch version tomorrow.

@cmcapellan cmcapellan deleted the SqlRole_ServerName_default branch July 22, 2020 18:04
@cmcapellan
Copy link
Contributor Author

@johlju thanks for approving my PR! Looking forward to your release as I need this for a project I'm working on...

@johlju
Copy link
Member

johlju commented Jul 23, 2020

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. :/

@cmcapellan
Copy link
Contributor Author

Great, thanks again! Now working on how to pass two variables with SqlScriptQuery, unfortunately the examples are all for one variable. If I figure out may submit a PR for the example...

@johlju
Copy link
Member

johlju commented Jul 23, 2020

It uses Invoke-Sqlcmd behind the scenes so examples or the documentation for that cmdlet might help you. Happily review a PR for an example for that 🙂

@cmcapellan
Copy link
Contributor Author

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?

@cmcapellan
Copy link
Contributor Author

@johlju I see it now 😀 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SqlRole resource incorrect documentation or bug
2 participants