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

Get-DbaAgBackupHistory - Remove extra param #8613

Merged
merged 1 commit into from
Oct 27, 2022
Merged

Get-DbaAgBackupHistory - Remove extra param #8613

merged 1 commit into from
Oct 27, 2022

Conversation

TakeshiKovacs
Copy link
Contributor

@TakeshiKovacs TakeshiKovacs commented Oct 25, 2022

Fixing a bug, didn't remove the new parameter from the subsequent call to the underlying backup cmdlet

Please read -- recent changes to our repo

On October 2, 2022, we removed some bloat from our repository. This change requires that all contributors reclone or reset their repo using the following code:

git fetch
git reset --hard origin/master

You can also just delete your dbatools directory and have GitHub Desktop reclone it.

  • Please confirm you have the smaller repo (110MB .git directory vs 275MB .git directory)

Note this will likely have to happen once more in the future as we move the SMO and c# library to their own repository.

Type of Change

  • Bug fix (non-breaking change, fixes # )
  • New feature (non-breaking change, adds functionality, fixes # )
  • Breaking change (effects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
  • Unit test is included
  • Documentation
  • Build system

Purpose

Previous pull request introduced a bug as the new LsnSort parameter was being propagated to the underlying call to Get-DbaDbBackupHistory via @PSBoundParameters. Removing from that.

Approach

Commands to test

Screenshots

Learning

Fixing a bug, didn't remove the new parameter from the subsequent call to the underlying backup cmdlet
@andreasjordan
Copy link
Contributor

Before we merge: Maybe add the parameter to Get-DbaDbBackupHistory? That might solve #5399.

@potatoqualitee
Copy link
Member

I'd love that!

@potatoqualitee
Copy link
Member

We can do that in a new PR, Andreas, I'll merge this one and the other is listed as fix in 2.0, so we'll get to that one before publishing

@potatoqualitee potatoqualitee merged commit 534f283 into dataplat:development Oct 27, 2022
@potatoqualitee potatoqualitee changed the title Get-DbaAgBackupHistory Get-DbaAgBackupHistory - Remove extra param Oct 27, 2022
@potatoqualitee
Copy link
Member

Thanks again @TakeshiKovacs !

potatoqualitee pushed a commit that referenced this pull request Nov 10, 2022
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.

3 participants