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:
Diffstat (limited to 'lib/gitlab/git_access.rb')
-rw-r--r--lib/gitlab/git_access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb
index 344dd27589c..35b330fa089 100644
--- a/lib/gitlab/git_access.rb
+++ b/lib/gitlab/git_access.rb
@@ -49,7 +49,7 @@ module Gitlab
def self.error_message(key)
self.ancestors.each do |cls|
- return cls.const_get('ERROR_MESSAGES', false).fetch(key)
+ return cls.const_get(:ERROR_MESSAGES, false).fetch(key)
rescue NameError, KeyError
next
end