summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-04 18:10:30 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-04 18:10:30 +0900
commit28f895e495a7868e44602781c99bcd51fac08ccc (patch)
treeb2987876f8926584327510e74bd84d6de361e9ee /app/models
parentd3b9e4ef38f09a9be84b687f847984d5605cc95a (diff)
downloadgitlab-ce-28f895e495a7868e44602781c99bcd51fac08ccc.tar.gz
Enable ci_enable_scheduled_build feature flag by default
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 8f1547463ba..77907053af0 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -259,7 +259,7 @@ module Ci
end
def schedulable?
- Feature.enabled?('ci_enable_scheduled_build') &&
+ Feature.enabled?('ci_enable_scheduled_build', default_enabled: true) &&
self.when == 'delayed' && options[:start_in].present?
end