Skip to content

Commit

Permalink
bz 1628632: check terminate feature for vm_destroy action
Browse files Browse the repository at this point in the history
  • Loading branch information
sseago committed Sep 19, 2018
1 parent e122fa4 commit ab01697
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/application_controller/ci_processing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,9 @@ def testable_action(action)
def action_to_feature(action)
feature_aliases = {
"scan" => :smartstate_analysis,
"retire_now" => :retire }
"retire_now" => :retire,
"vm_destroy" => :terminate
}
feature_aliases[action] || action.to_sym
end

Expand Down

0 comments on commit ab01697

Please sign in to comment.