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 #31586 - load common.rake for pulp3 content switchover #9098

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Jan 13, 2021

in b6532ce we added disable_dynflow to the switchover task, but didn't
load the common.rake that defines it.

in b6532ce we added disable_dynflow to the switchover task, but didn't
load the common.rake that defines it.
@theforeman-bot
Copy link

Issues: #31586

@@ -1,3 +1,5 @@
load "#{Katello::Engine.root}/lib/katello/tasks/common.rake"

require File.expand_path("../engine", File.dirname(__FILE__))
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated, but I wonder why this isn't:

Suggested change
require File.expand_path("../engine", File.dirname(__FILE__))
require File.expand_path("engine", File.dirname(__dir__))

Copy link
Member

Choose a reason for hiding this comment

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

i'm not sure this line is even needed, but lets go ahead and merge this

@jlsherrill jlsherrill merged commit ac346f3 into Katello:master Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants