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

Refs #37883 - wrap evr remote checks in method #999

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

ianballou
Copy link
Contributor

Attempts to fix the issue mentioned here https://github.com/theforeman/foreman-installer/pull/984/files#r1851069746

Wraps all the code in a method and calls the method at the end.

Untested since I'm posting this right at the end of the day in case it can merge early.

end

check_remote_evr_extension_permissions
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should have guards here

Suggested change
check_remote_evr_extension_permissions
check_remote_evr_extension_permissions if !local_postgresql? && katello_enabled?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I wasn't quite sure what's nicer. It probably doesn't really matter.

What does matter is the trailing whitespace failure that breaks RuboCop.

@ehelms ehelms merged commit df21c68 into theforeman:develop Nov 21, 2024
8 checks passed
@ianballou ianballou deleted the fix-37883 branch November 21, 2024 15:08
@ianballou
Copy link
Contributor Author

Thanks for cleaning the PR up @ekohl !

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