summaryrefslogtreecommitdiff
path: root/lib/gitlab/github_import/issuable_finder.rb
diff options
context:
space:
mode:
authordineshpanda <dineshpanda92@gmail.com>2019-09-01 00:55:25 +0530
committerdineshpanda <dineshpanda92@gmail.com>2019-09-04 09:52:02 +0530
commite908e117762d2b5d427b090b9c89b2e58ac382ac (patch)
tree145d577252857479a5188074d561ddb50c35a529 /lib/gitlab/github_import/issuable_finder.rb
parentdf6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff)
downloadgitlab-ce-e908e117762d2b5d427b090b9c89b2e58ac382ac.tar.gz
Avoid calling freeze on already frozen strings in lib/gitlab
Diffstat (limited to 'lib/gitlab/github_import/issuable_finder.rb')
-rw-r--r--lib/gitlab/github_import/issuable_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/issuable_finder.rb b/lib/gitlab/github_import/issuable_finder.rb
index 211915f1d87..c81603a1aa9 100644
--- a/lib/gitlab/github_import/issuable_finder.rb
+++ b/lib/gitlab/github_import/issuable_finder.rb
@@ -10,7 +10,7 @@ module Gitlab
attr_reader :project, :object
# The base cache key to use for storing/retrieving issuable IDs.
- CACHE_KEY = 'github-import/issuable-finder/%{project}/%{type}/%{iid}'.freeze
+ CACHE_KEY = 'github-import/issuable-finder/%{project}/%{type}/%{iid}'
# project - An instance of `Project`.
# object - The object to look up or set a database ID for.