diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-23 21:14:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-23 21:14:10 +0300 |
commit | 27b95711dd76c60c460cb1f4e37edd68c67b605c (patch) | |
tree | 53d5e3862927592a0928953a59ac79b634b7f32f /app/models/repository.rb | |
parent | 273ee970db58a0488d7b1de5ad7c62bfd21572e4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 645cc9773bd..be8e530c650 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -191,7 +191,7 @@ class Repository end def find_tag(name) - if @tags.blank? && Feature.enabled?(:find_tag_via_gitaly, project, default_enabled: :yaml) + if @tags.blank? raw_repository.find_tag(name) else tags.find { |tag| tag.name == name } |