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

SqlServerMemory: Localization, unit tests and fix bug #1330

Merged
merged 3 commits into from
Apr 25, 2019

Conversation

johlju
Copy link
Member

@johlju johlju commented Apr 23, 2019

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
  • New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is Reviewable

@johlju johlju added the needs review The pull request needs a code review. label Apr 23, 2019
@codecov-io
Copy link

codecov-io commented Apr 23, 2019

Codecov Report

Merging #1330 into dev will increase coverage by <1%.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##            dev   #1330    +/-   ##
=====================================
+ Coverage    98%     98%   +<1%     
=====================================
  Files        36      36            
  Lines      4889    4906    +17     
=====================================
+ Hits       4817    4835    +18     
+ Misses       72      71     -1

- Added en-US localization (issue dsccommunity#617).
  - No longer will the resource set the MinMemory value if it was provided
    in a configuration that also set the `Ensure` parameter to 'Absent' (issue dsccommunity#1329).
  - Refactored unit tests to simplify them add add slightly more code
    coverage.
Copy link
Member Author

@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 6 of 6 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion


DSCResources/MSFT_SqlServerMemory/en-US/MSFT_SqlServerMemory.strings.psd1, line 11 at r1 (raw file):

{0}\{1}

This should be escaped \\

Copy link
Member Author

@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 r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved


DSCResources/MSFT_SqlServerMemory/en-US/MSFT_SqlServerMemory.strings.psd1, line 11 at r1 (raw file):

Previously, johlju (Johan Ljunggren) wrote…
{0}\{1}

This should be escaped \\

Done

Copy link
Member Author

@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:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@johlju johlju merged commit c3c4724 into dsccommunity:dev Apr 25, 2019
@kwirkykat kwirkykat removed the needs review The pull request needs a code review. label Apr 25, 2019
@johlju johlju deleted the fix-issue-617 branch April 25, 2019 12:56
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.

SqlServerMemory: Localization should change to align with HQRM modules
3 participants