Skip to content

Commit

Permalink
Merge pull request #4679 from sseago/supports-feature-vm_delete
Browse files Browse the repository at this point in the history
bz 1628632: check terminate feature for vm_destroy action
  • Loading branch information
mzazrivec authored Oct 1, 2018
2 parents 137a4cf + ab01697 commit 7a3eecc
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 @@ -679,7 +679,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 7a3eecc

Please sign in to comment.