Add feature flag to schedulable? method
This commit is contained in:
parent
e0cfa9279c
commit
f76f6df193
1 changed files with 2 additions and 1 deletions
|
@ -260,7 +260,8 @@ module Ci
|
|||
end
|
||||
|
||||
def schedulable?
|
||||
self.when == 'delayed' && options[:start_in].present?
|
||||
Feature.enabled?('ci_enable_scheduled_build') &&
|
||||
self.when == 'delayed' && options[:start_in].present?
|
||||
end
|
||||
|
||||
def options_scheduled_at
|
||||
|
|
Loading…
Reference in a new issue