Skip to content

Commit

Permalink
Fix Refresh Relationships and Power States button for VMs, Instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilda Stastna committed Aug 15, 2018
1 parent b57f267 commit d1ca244
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 @@ -110,6 +110,7 @@ module SupportsFeatureMixin
:reconfigure_disksize => 'Reconfigure Virtual Machines Disk Size',
:reconfigure_network_adapters => 'Reconfigure Network Adapters',
:reconfigure_cdroms => 'Reconfigure Virtual Machines CD/DVDs',
:refresh_ems => 'Refresh Relationships and Power States',
:refresh_network_interfaces => 'Refresh Network Interfaces for a Host',
:refresh_new_target => 'Refresh non-existing record',
:regions => 'Regions of a Provider',
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 @@ -1726,6 +1726,7 @@ def self.includes_template?(ids)

supports_not :snapshots
supports :destroy
supports :refresh_ems

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

0 comments on commit d1ca244

Please sign in to comment.