-
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
Add Instance (IBM)
to en.yml
#20800
Add Instance (IBM)
to en.yml
#20800
Conversation
Checked commit lpichler@f9b80d1 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint |
Yes I believe that we can: entities = OpsController::Settings::LabelTagMapping::MAPPABLE_ENTITIES.to_a.reject{|x| x[1].model.nil? || x[1].prefix.nil? }
# WITH ui_lookup - CURRENT
entities.map { |x| ui_lookup(:model=>x[1].model) }
# =>
[
[ 0] "Instance (Amazon)",
[ 1] "Instance (IBM)",
[ 2] "Instance (OpenStack)",
[ 3] "Instance (Microsoft Azure)",
[ 4] "Virtual Machine (VMware)",
[ 5] "Image (Amazon)",
[ 6] "Container Project",
[ 7] "Container Route",
[ 8] "Container Node",
[ 9] "Container Replicator",
[10] "Container Service",
[11] "Container Pod",
[12] "Container Build"
]
# WITH display_name
entities .map { |x| x[1].model.safe_constantize.display_name }
# =>
[
[ 0] "Instance (Amazon)",
[ 1] "Instance (IBM)",
[ 2] "Instance (OpenStack)",
[ 3] "Instance (Microsoft Azure)",
[ 4] "Virtual Machine (VMware)",
[ 5] "Image (Amazon)",
[ 6] "Container Project",
[ 7] "Container Route",
[ 8] "Container Node",
[ 9] "Container Replicator",
[10] "Container Service",
[11] "Pod",
[12] "Container Build" I will include it in other PR after #20776 thanks @Fryguy |
Yes, we do have |
Add `Instance (IBM)` to en.yml (cherry picked from commit ace7b47)
Kasparov backport details:
|
Visible for example here:
cc @mzazrivec @agrare