summaryrefslogtreecommitdiff
path: root/lib/gitlab/redis/hll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/redis/hll.rb')
-rw-r--r--lib/gitlab/redis/hll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/redis/hll.rb b/lib/gitlab/redis/hll.rb
index 010a6b59da5..0d04545688b 100644
--- a/lib/gitlab/redis/hll.rb
+++ b/lib/gitlab/redis/hll.rb
@@ -46,7 +46,7 @@ module Gitlab
def validate_key!(key)
return if KEY_REGEX.match?(key)
- raise KeyFormatError.new("Invalid key format. #{key} key should have changeable parts in curly braces. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands")
+ raise KeyFormatError, "Invalid key format. #{key} key should have changeable parts in curly braces. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands"
end
end
end