diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-06-10 17:40:19 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-06-10 17:40:19 +0000 |
commit | 3df74a403670ef2ca450bf474e9864ede56dd235 (patch) | |
tree | aa988b6e29f04abb1bb34646a8c4fe51600a578a /app/presenters/ci | |
parent | 9254b5d4c0cc41e552e896e16ef0bf62b5d9ae5b (diff) | |
download | gitlab-ce-3df74a403670ef2ca450bf474e9864ede56dd235.tar.gz |
Move project default git depth behind feature flags
Diffstat (limited to 'app/presenters/ci')
-rw-r--r-- | app/presenters/ci/build_runner_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/build_runner_presenter.rb b/app/presenters/ci/build_runner_presenter.rb index 471b6d3b726..c75f62149f8 100644 --- a/app/presenters/ci/build_runner_presenter.rb +++ b/app/presenters/ci/build_runner_presenter.rb @@ -27,7 +27,7 @@ module Ci def git_depth if git_depth_variable git_depth_variable[:value] - else + elsif Feature.enabled?(:ci_project_git_depth, default_enabled: true) project.default_git_depth end.to_i end |