-
Notifications
You must be signed in to change notification settings - Fork 125
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 TagMapping resource_type for Amazon Vms and Images #525
Rename TagMapping resource_type for Amazon Vms and Images #525
Conversation
Now that kasparov is branched off I'm going to un-wip this |
ef13a74
to
b96f82c
Compare
end | ||
|
||
def up | ||
ProviderTagMapping.where(:labeled_resource_type => "Vm").update_all(:labeled_resource_type => "VmAmazon") |
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.
Can you add a say_with_time
on all of these?
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.
👍
Is this master only? |
The Amazon provider was the first cloud provider to participate in the (originally) ContainerLabelTagMapping class. It has since been expanded to include many providers including Openstack, Azure, and VMware vSphere. This means that the original labeled_resource_type of "Vm" and "Image" meaning Amazon VMs and Templates is quite confusing.
b96f82c
to
e786e94
Compare
Checked commit agrare@e786e94 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint spec/migrations/20201022201901_update_amazon_tag_mapper_resource_type_spec.rb
|
@Fryguy correct we don't need this on kasparov |
LGTM...just needs the dependent PR to be ready. |
The Amazon provider was the first cloud provider to participate in the (originally) ContainerLabelTagMapping class. It has since been expanded to include many providers including Openstack, Azure, and VMware vSphere.
This means that the original labeled_resource_type of "Vm" and "Image" meaning Amazon VMs and Templates is quite confusing.
Follow-up to: ManageIQ/manageiq-providers-vmware#658 (comment)
Depends on: ManageIQ/manageiq-ui-classic#7438 ManageIQ/manageiq-providers-amazon#671