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-DbaService - Skip after first success / added more verbose #7413

Merged
merged 6 commits into from
Jun 11, 2021

Conversation

andreasjordan
Copy link
Contributor

Type of Change

  • Bug fix (non-breaking change, fixes [Bug] Get-DbaService - No services found in relevant namespaces #7033 )
  • 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/sqlcollaborative/appveyor-lab ?
  • Nunit test is included
  • Documentation
  • Build system

Not sure yet if it really fixes #7033, but it will help to find the root cause with more verbose messages.
And generaly the command is now faster because it only fetches the services from the highest namespace found.

functions/Get-DbaService.ps1 Outdated Show resolved Hide resolved
@potatoqualitee
Copy link
Member

ohh i was hoping this command could get faster! thank you for that technique.

@nvarscar - can you please give a review as well if you've got time?

@nvarscar nvarscar self-requested a review June 11, 2021 02:30
Copy link
Contributor

@nvarscar nvarscar left a comment

Choose a reason for hiding this comment

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

looks reasonable to me

@potatoqualitee
Copy link
Member

excellent! thank you both 🥳

@potatoqualitee potatoqualitee merged commit c8841c4 into development Jun 11, 2021
@potatoqualitee potatoqualitee deleted the 7033_GetDbaService_namespace branch June 11, 2021 08:04
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.

[Bug] Get-DbaService - No services found in relevant namespaces
4 participants