summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-07-04 07:38:56 +0000
committerRémy Coutable <remy@rymai.me>2019-07-04 07:38:56 +0000
commit9a4b5f08dbf5e0900145b5127f50e7ab3578d05c (patch)
treeb447a23ccbd17d127eb12aa02f95015d4a7d11e9 /lib
parentd1154dcd2b3b126cc4d6c3bba87c47b6669e697c (diff)
parentd48ee86053acabf4d52effc2a6a2ba714926821d (diff)
downloadgitlab-ce-9a4b5f08dbf5e0900145b5127f50e7ab3578d05c.tar.gz
Merge branch 'sh-fix-issue-63349' into 'master'
Make Housekeeping button do a full garbage collection Closes #63349 See merge request gitlab-org/gitlab-ce!30289
Diffstat (limited to 'lib')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 1e14c77b5be..a7d62014509 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -474,7 +474,7 @@ module API
authorize_admin_project
begin
- ::Projects::HousekeepingService.new(user_project).execute
+ ::Projects::HousekeepingService.new(user_project, :gc).execute
rescue ::Projects::HousekeepingService::LeaseTaken => error
conflict!(error.message)
end