Skip to content

Commit

Permalink
Process list of storages based on :miq_grid_checks parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Oct 12, 2016
1 parent eba0427 commit 034195a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller/ci_processing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2610,7 +2610,7 @@ def storage_button_operation(method, display_name)
storages = []

# Either a list or coming from a different controller (eg from host screen, go to its storages)
if %w(show_list storage_list storage_pod_list).include?(@lastaction) || @layout != "storage"
if params.key?(:miq_grid_checks)
storages = find_checked_items

if method == 'scan' && !Storage.batch_operation_supported?('smartstate_analysis', storages)
Expand Down

0 comments on commit 034195a

Please sign in to comment.