Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 15:09:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 15:09:20 +0300
commit6559f0ee67c564d62e12936e91cef6abf37ce102 (patch)
treeac843e2187f4fa22eade9be5ae380a7fc793e31b /app/models/snippet.rb
parent93e4425400aa60f54f1bbccb26ef6581503952f3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r--app/models/snippet.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index 9c1ad5bba8f..d71853e11cf 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -283,8 +283,7 @@ class Snippet < ApplicationRecord
::Gitlab::RepositorySizeChecker.new(
current_size_proc: -> { repository.size.megabytes },
limit: Gitlab::CurrentSettings.snippet_size_limit,
- total_repository_size_excess: nil,
- additional_purchased_storage: nil
+ namespace: nil
)
end
end