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

Bugfix: Allow to omit "source" parameter for role inventory_sources #755

Merged
merged 4 commits into from
Feb 16, 2024

Conversation

dbk-rabel
Copy link
Contributor

What does this PR do?

a79f987 had a bug: It does not allow to omit the source parameter anymore, because it is evaluated before applying the default.
This PR fixes that by applying the same default as above a few lines above.

Honestly: A cleaner solution would be to revert a79f987 and then take the time to implement this in a better way. Because with my PR the default is redundant. It is still better than having a bug in the code, I should say.

How should this be tested?

Is there a relevant Issue open for this?

resolves #738

Other Relevant info, PRs, etc

Copy link
Collaborator

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

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

I think this is fine

@djdanielsson djdanielsson enabled auto-merge (squash) January 27, 2024 20:02
@djdanielsson djdanielsson merged commit d00dda6 into redhat-cop:devel Feb 16, 2024
12 of 13 checks passed
@dbk-rabel dbk-rabel deleted the patch-2 branch February 19, 2024 09:31
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.

Inventory Sources cannot be deleted via object_diff since 2.6.0
3 participants