Commit 545d5be0 authored by Shinya Maeda's avatar Shinya Maeda

Rename event :schedule to event :delay in Ci::Pipeline to avoid conflicts with enum source

parent f84db3cc
......@@ -109,7 +109,7 @@ module Ci
transition any - [:manual] => :manual
end
event :schedule do
event :delay do
transition any - [:scheduled] => :scheduled
end
......@@ -549,7 +549,7 @@ module Ci
when 'canceled' then cancel
when 'skipped' then skip
when 'manual' then block
when 'scheduled' then schedule
when 'scheduled' then delay
else
raise HasStatus::UnknownStatusError,
"Unknown status `#{latest_builds_status}`"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment