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

[3007.x] Fix pillar.ls doesn't accept kwargs #66263

Merged
merged 3 commits into from
Mar 30, 2024

Conversation

nicholasmhughes
Copy link
Collaborator

What does this PR do?

See issue for details.

What issues does this PR fix or reference?

Fixes: #66262

Previous Behavior

Error if kwargs are passed.

New Behavior

kwargs are passed to pillar.items

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@nicholasmhughes nicholasmhughes requested a review from a team as a code owner March 23, 2024 01:19
@nicholasmhughes nicholasmhughes requested review from twangboy and removed request for a team March 23, 2024 01:19
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Fix pillar.ls doesn't accept kwargs [3007.x] Fix pillar.ls doesn't accept kwargs Mar 23, 2024
@twangboy twangboy self-assigned this Mar 26, 2024
salt/modules/pillar.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@s0undt3ch s0undt3ch left a comment

Choose a reason for hiding this comment

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

Just because something was not done right(at least to today's wanted standards), it does not mean we can't start fixing it early on without tackling the full length of it.

This way you address the problem you wanted to fix, without increasing the future burden of the underlying bigger problem.

salt/modules/pillar.py Outdated Show resolved Hide resolved
salt/modules/pillar.py Outdated Show resolved Hide resolved
@s0undt3ch s0undt3ch requested a review from dwoz March 27, 2024 10:02
salt/modules/pillar.py Show resolved Hide resolved
salt/modules/pillar.py Show resolved Hide resolved
@s0undt3ch s0undt3ch merged commit 2f24eeb into saltstack:3007.x Mar 30, 2024
502 checks passed
@nicholasmhughes nicholasmhughes deleted the fix-pillar-ls-kwargs branch April 3, 2024 11:17
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