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

SqlReplication: Remove duplicate function #1612

Merged
merged 2 commits into from
Aug 19, 2020

Conversation

johlju
Copy link
Member

@johlju johlju commented Aug 17, 2020

Pull Request (PR) description

  • SqlServerDsc
    • Updated code formatting using latest release of PSScriptAnalyzer.
    • The URLs in the CHANGELOG.md that was pointing to issues is now
      referencing the new repository name and URL.
  • SqlServerDsc.Common
    • The helper function Get-SqlInstanceMajorVersion no longer have a default
      value for parameter InstanceName since the parameter is mandatory
      and it was never used.
  • SqlReplication

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

@johlju johlju added the needs review The pull request needs a code review. label Aug 17, 2020
@codecov
Copy link

codecov bot commented Aug 17, 2020

Codecov Report

Merging #1612 into master will decrease coverage by 0%.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1612   +/-   ##
======================================
- Coverage      98%     98%   -1%     
======================================
  Files          37      37           
  Lines        5988    5981    -7     
======================================
- Hits         5899    5892    -7     
  Misses         89      89           
Flag Coverage Δ
#unit 98% <100%> (-1%) ⬇️

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

Impacted Files Coverage Δ
...sources/DSC_SqlReplication/DSC_SqlReplication.psm1 62% <100%> (-3%) ⬇️
...dules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 97% <100%> (ø)

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:

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

@johlju johlju merged commit 4a425ea into dsccommunity:master Aug 19, 2020
@johlju johlju deleted the fix/issue#1408 branch August 19, 2020 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review The pull request needs a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SqlReplication: Replace Get-SqlServerMajorVersion
1 participant