Skip to content

Commit

Permalink
Fix enabling Power operations for a template
Browse files Browse the repository at this point in the history
  • Loading branch information
hstastna committed Feb 12, 2019
1 parent 7bee29b commit 74b2cf8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/controllers/application_controller/ci_processing.rb
Expand Up @@ -636,10 +636,7 @@ def generic_button_operation(action, action_name, operation, options = {})
# - false otherwise
def testable_action(action)
controller = params[:controller]
vm_infra_untestable_actions = %w(
reboot_guest stop start check_compliance_queue destroy
refresh_ems vm_miq_request_new suspend reset shutdown_guest
)
vm_infra_untestable_actions = %w(check_compliance_queue destroy refresh_ems vm_miq_request_new)
ems_cluster_untestable_actions = %w(scan)
if controller == "vm_infra"
return vm_infra_untestable_actions.exclude?(action)
Expand Down

0 comments on commit 74b2cf8

Please sign in to comment.