-
Notifications
You must be signed in to change notification settings - Fork 897
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
Fix general CloudNetwork class_by_ems method #14392
Fix general CloudNetwork class_by_ems method #14392
Conversation
looks great 👍 |
app/models/cloud_network.rb
Outdated
@@ -41,11 +41,7 @@ class CloudNetwork < ApplicationRecord | |||
|
|||
def self.class_by_ems(ext_management_system, external = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If external
is now ignored here, can you change the parameter name here to _external
?
8b9c852
to
0336d72
Compare
@blomquisg made the change you suggested, thanks! |
Checked commit tzumainn@0336d72 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@miq-bot merge when green /cc @chrisarcand |
@blomquisg Maybe I'd do it...if it were green... 😒👇 |
@Fryguy miq-bot was clearly hacked |
@miq-bot add_label euwe/yes |
Fix general CloudNetwork class_by_ems method (cherry picked from commit 30144fa) https://bugzilla.redhat.com/show_bug.cgi?id=1437148
Euwe backport details:
|
Only OpenStack networks contain Public/Private versions, so class_by_ems will fail for other provider
cloud networks. This fix remediates that.
https://bugzilla.redhat.com/show_bug.cgi?id=1403152