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

Find-DbaAgentJob, work with multiple wildcards #9583

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

niphlod
Copy link
Contributor

@niphlod niphlod commented Feb 10, 2025

Type of Change

  • Bug fix (non-breaking change, fixes Get-JobList -JobFilter Doesn't Handle Multiple Wildcarded Items Correctly  #9572 )
  • New feature (non-breaking change, adds functionality, fixes # )
  • Breaking change (affects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (Invoke-ManualPester)
  • 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

Having multiple wildcards working again. The code was doing different things when either jobs or steps were passed down as multiple wildcards.

Approach

Just loop over, keep the same logic. Hopefully no tests will break.

Commands to test

Added a test just to make sure regressions are reintroduced at a later stage.

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.

Get-JobList -JobFilter Doesn't Handle Multiple Wildcarded Items Correctly
1 participant