diff options
Diffstat (limited to 'lib/gitlab/repository_set_cache.rb')
-rw-r--r-- | lib/gitlab/repository_set_cache.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/repository_set_cache.rb b/lib/gitlab/repository_set_cache.rb index a20e9845fe6..7de53c4b3ff 100644 --- a/lib/gitlab/repository_set_cache.rb +++ b/lib/gitlab/repository_set_cache.rb @@ -13,12 +13,12 @@ module Gitlab @expires_in = expires_in end - def cache_key(type) + # NOTE Remove as part of #331319 + def old_cache_key(type) "#{type}:#{namespace}:set" end - # NOTE Remove as part of #331319 - def new_cache_key(type) + def cache_key(type) super("#{type}:#{namespace}") end |