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

Fixes #37151 - Add --force flag to content overrides #977

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

chris1984
Copy link
Member

@chris1984 chris1984 commented Dec 3, 2024

We only support enabled as a value on content overrides, adding a flag that makes the user add --force for anything other than enabled. Increased the line length to 150 from discussions with Quinn on my last PR since Katello is at 200.

@jeremylenz github was down earlier and was stuck pushing my changes, after it finished 30 mins later it closed my pr and I can't open it again saying the branch was force pushed to. So here is the updated pr with the changes you requested in #973

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

thanks @chris1984 !

just one more :)

assert_cmd(expected_result, result)
end

it "attaches a content override with value other than enabled without --force" do
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
it "attaches a content override with value other than enabled without --force" do
it "does not attach a content override with value other than enabled without --force" do

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for catching it :) Updated.

We only support enabled as a value on content overrides, adding a flag that makes the user add --force for anything other than enabled.
Increased the line length to 150 from discussions with Quinn on my last PR since Katello is at 200.
@chris1984 chris1984 merged commit 8d3c4c7 into Katello:main Dec 4, 2024
11 checks passed
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.

2 participants