diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 03:08:49 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 03:08:49 +0000 |
commit | 996c6bf06f602ada62e3f754c121c17051072892 (patch) | |
tree | c7568793468de0faef693795e00f34c07da8e793 /app/models/snippet.rb | |
parent | 0a0e82d1440b06650e5fc524168b1f50a8feec68 (diff) | |
download | gitlab-ce-996c6bf06f602ada62e3f754c121c17051072892.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 8f162f17ac5..8bba79bd944 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -261,7 +261,7 @@ class Snippet < ApplicationRecord end def repository - @repository ||= Repository.new(full_path, self, disk_path: disk_path, repo_type: Gitlab::GlRepository::SNIPPET) + @repository ||= Repository.new(full_path, self, shard: repository_storage, disk_path: disk_path, repo_type: Gitlab::GlRepository::SNIPPET) end def storage |