Skip to content

Commit

Permalink
Merge pull request #19749 from agrare/fix_vm_scan_state_transitions
Browse files Browse the repository at this point in the history
Add back some missing state transitions to VmScan
  • Loading branch information
chessbyte authored Jan 22, 2020
2 parents 943c936 + a987cd9 commit cb3eed5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/vm_scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def load_transitions
:data => {'scanning' => 'scanning',
'synchronizing' => 'synchronizing',
'finished' => 'finished'},
:scan_retry => {'scanning' => 'scanning'},
:abort_retry => {'scanning' => 'scanning'},
:abort_job => {'*' => 'aborting'},
:cancel => {'*' => 'canceling'},
:error => {'*' => '*'},
Expand Down

0 comments on commit cb3eed5

Please sign in to comment.