-
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
Rename "Cloud Instance" back to "Instance" #16647
Rename "Cloud Instance" back to "Instance" #16647
Conversation
LGTM, this resolves my consistency comment, thanks! :) |
@mzazrivec do we know when VmCloud was added to the yaml file? Just want to make sure there aren't any expressions/reports out there that this might break. |
It was added in this PR: #15445 |
So do we need to change this line as well then? manageiq/product/reports/180_Configuration Management - Instances/010 Amazon - Active VMs.yaml Line 6 in aab1dba
@gtanzillo could use your input as well |
@dclarizio well this PR changes the line you're referring to, right? Or maybe I don't understand the question -- do you think the line you're showing should remain unmodified? |
That line should probably refer to the actual class as well, not to the alias. |
@mzazrivec indeed it does, somehow I missed that! 😄 This should be good to go when green. Thx! |
VmCloud is just an alias for ManageIQ::Providers::CloudManager::Vm, it's called Instance and we don't want to introduce inconsistencies. Revert "Rename pretty modelname- VmCloud from 'Instance to 'Cloud Instance'" This reverts commit 41d8008.
VmCloud is just an alias for ManageIQ::Providers::CloudManager::Vm
01e60ba
to
450a9be
Compare
Checked commits mzazrivec/manageiq@44747a6~...450a9be with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@dclarizio CI fixed. |
Rename "Cloud Instance" back to "Instance" (cherry picked from commit d5064ab)
Gaprindashvili backport details:
|
Human readable model name for
VmCloud
was renamed fromInstance
toCloud Instance
in #16629 Reason for this change was a failing spec in ui-classic.The spec in ui-classic would be failing because of changes in #15445 -- since
VmCloud
was added intoconfig/miq_expression.yml
underbase_tables
tree.I'm reverting
Cloud Instance
back toInstance
, because:VmCloud
is just an alias forManageIQ::Providers::CloudManager::Vm
.ManageIQ::Providers::CloudManager::Vm
is already calledInstance
so we don't want to introduce inconsitencies.VmCloud
frommiq_expression.yml
: we don't need it there, sinceManageIQ::Providers::CloudManager::Vm
is already there. Also, reports usingVmCloud
can safely useManageIQ::Providers::CloudManager::Vm
(VmCloud
is just an alias, right?)@Fryguy @dclarizio