Skip to content

Commit

Permalink
Merge pull request #767 from kbrock/attach_volume
Browse files Browse the repository at this point in the history
rename CloudVolume#attach_volume to attach
  • Loading branch information
agrare authored May 5, 2022
2 parents cd0846c + f179b12 commit d621b84
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ class ManageIQ::Providers::Amazon::StorageManager::Ebs::CloudVolume < ::CloudVol
supports :update do
unsupported_reason_add(:update, _("the volume is not connected to an active provider")) unless ext_management_system
end
supports :attach_volume do
unsupported_reason_add(:attach_volume, _("the volume is not connected to an active provider")) unless ext_management_system
unsupported_reason_add(:attach_volume, _("the volume status is '%{status}' but should be 'available'") % {:status => status}) unless status == "available"
supports :attach do
unsupported_reason_add(:attach, _("the volume is not connected to an active provider")) unless ext_management_system
unsupported_reason_add(:attach, _("the volume status is '%{status}' but should be 'available'") % {:status => status}) unless status == "available"
end
supports :detach_volume do
unsupported_reason_add(:detach_volume, _("the volume is not connected to an active provider")) unless ext_management_system
unsupported_reason_add(:detach_volume, _("the volume status is '%{status}' but should be 'in-use'") % {:status => status}) unless status == "in-use"
supports :detach do
unsupported_reason_add(:detach, _("the volume is not connected to an active provider")) unless ext_management_system
unsupported_reason_add(:detach, _("the volume status is '%{status}' but should be 'in-use'") % {:status => status}) unless status == "in-use"
end

CLOUD_VOLUME_TYPES = {
Expand Down

0 comments on commit d621b84

Please sign in to comment.