diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 03:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 03:08:11 +0300 |
commit | 23bc19cb73aad969c9636b8b935111645e809e54 (patch) | |
tree | 887c9e014f8345f577769db4f75315ca59853b98 /app/models/snippet.rb | |
parent | c4db541c1b2c97ab1eda354ea3899489fe5c33e5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 90221f4e463..b6127baca90 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -288,8 +288,7 @@ class Snippet < ApplicationRecord end def repository_storage - snippet_repository&.shard_name || - Gitlab::CurrentSettings.pick_repository_storage + snippet_repository&.shard_name || self.class.pick_repository_storage end def create_repository |