#891: update comments

This commit is contained in:
Vokhmin Alexey V 2013-02-05 16:10:10 +04:00
parent 8f40a25b95
commit a1455b5afb
1 changed files with 2 additions and 2 deletions

View File

@ -82,12 +82,12 @@ class ProductBuildList < ActiveRecord::Base
transition [:build_canceling, :build_started] => :build_canceled
end
# :build_canceling => :build_completed - Worker hasn't time to cancel building because build had been already finished
# :build_canceling => :build_completed - Worker hasn't time to cancel building because build had been already completed
event :build_success do
transition [:build_started, :build_canceling] => :build_completed
end
# :build_canceling => :build_failed - Worker hasn't time to cancel building because build had been already finished
# :build_canceling => :build_failed - Worker hasn't time to cancel building because build had been already failed
event :build_error do
transition [:build_started, :build_canceling] => :build_failed
end