Skip to content

Commit

Permalink
Merge pull request #378 from ZitaNemeckova/missed_ontap_delete
Browse files Browse the repository at this point in the history
Delete ::Settings.product.storage in textual_group_list
  • Loading branch information
himdel authored Feb 14, 2017
2 parents e51ac7b + 6cb56a4 commit 72e35ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/controllers/ems_cluster_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def button

def textual_group_list
[
%i(relationships) + (::Settings.product.storage ? storage_relationships : []),
%i(relationships),
%i(host_totals vm_totals configuration tags openstack_status)
]
end
Expand Down
9 changes: 4 additions & 5 deletions app/controllers/host_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,10 @@ def host_form_fields
def textual_group_list
[
%i(properties relationships),
(::Settings.product.storage ? %i(storage_relationships) : []) +
%i(
compliance security configuration diagnostics smart_management miq_custom_attributes
ems_custom_attributes authentications cloud_services openstack_hardware_status openstack_service_status
)
%i(
compliance security configuration diagnostics smart_management miq_custom_attributes
ems_custom_attributes authentications cloud_services openstack_hardware_status openstack_service_status
)
]
end
helper_method :textual_group_list
Expand Down
3 changes: 1 addition & 2 deletions app/controllers/storage_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,7 @@ def storage_scan
def textual_group_list
[
%i(properties registered_vms relationships),
(::Settings.product.storage ? %i(storage_relationships) : []) +
%i(content smart_management)
%i(content smart_management)
]
end
helper_method :textual_group_list
Expand Down
4 changes: 1 addition & 3 deletions app/controllers/vm_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ module VmCommon

def textual_group_list
[
%i(properties lifecycle relationships) +
(::Settings.product.storage ? %i(storage_relationships) : []) +
%i(vmsafe normal_operating_ranges miq_custom_attributes ems_custom_attributes),
%i(properties lifecycle relationships vmsafe normal_operating_ranges miq_custom_attributes ems_custom_attributes),
%i(compliance power_management security configuration datastore_allocation datastore_usage diagnostics tags)
]
end
Expand Down

0 comments on commit 72e35ee

Please sign in to comment.