Skip to content

Commit

Permalink
Merge pull request #17780 from hstastna/Error_delete_cloud_image_inst…
Browse files Browse the repository at this point in the history
…ance

Fix Remove Selected Items from Inventory button for Images, Instances
  • Loading branch information
agrare committed Aug 1, 2018
2 parents aa2db73 + 7de8cf2 commit 4d2223b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/mixins/supports_feature_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module SupportsFeatureMixin
:external_logging => 'Launch External Logging UI',
:swift_service => 'Swift storage service',
:delete => 'Deletion',
:destroy => 'Destroy',
:delete_aggregate => 'Host Aggregate Deletion',
:delete_floating_ip => 'Floating IP Deletion',
:delete_security_group => 'Security Group Deletion',
Expand Down
1 change: 1 addition & 0 deletions app/models/vm_or_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,7 @@ def self.includes_template?(ids)
end

supports_not :snapshots
supports :destroy

# Stop showing Reconfigure VM task unless the subclass allows
def reconfigurable?
Expand Down

0 comments on commit 4d2223b

Please sign in to comment.