summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-06-12 11:02:36 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-06-12 11:02:36 +0000
commit991976642f180fbc855ebb27b03cbe0c9217f7a5 (patch)
tree6c10bd81a9b3ef4baec560b69849202709170a43 /app/presenters
parent06e89d786c4ac67d9262c576b9aadb7d40dee9c2 (diff)
parent3ac527b4889b9465b2d55ca0c9317a3e8479a625 (diff)
downloadgitlab-ce-991976642f180fbc855ebb27b03cbe0c9217f7a5.tar.gz
Merge branch 'expose-project-git-depth-via-api' into 'master'
Expose default_git_depth via project API Closes #62908 See merge request gitlab-org/gitlab-ce!29353
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/ci/build_runner_presenter.rb2
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 c75f62149f8..b928988ed8c 100644
--- a/app/presenters/ci/build_runner_presenter.rb
+++ b/app/presenters/ci/build_runner_presenter.rb
@@ -28,7 +28,7 @@ module Ci
if git_depth_variable
git_depth_variable[:value]
elsif Feature.enabled?(:ci_project_git_depth, default_enabled: true)
- project.default_git_depth
+ project.ci_default_git_depth
end.to_i
end