summaryrefslogtreecommitdiff
path: root/app/models/gpg_key.rb
diff options
context:
space:
mode:
authordineshpanda <dineshpanda92@gmail.com>2019-09-01 01:27:00 +0530
committerdineshpanda <dineshpanda92@gmail.com>2019-09-01 01:27:00 +0530
commit20111b045d7df27223808b1e8eaa4861d4906863 (patch)
treea8050f23fb5ef660f2c366c86e9230c237f4a63a /app/models/gpg_key.rb
parentdc864927246746a34b675c7ee8ffbd1b533841e0 (diff)
downloadgitlab-ce-20111b045d7df27223808b1e8eaa4861d4906863.tar.gz
Avoid calling freeze on already frozen strings in app/models
Diffstat (limited to 'app/models/gpg_key.rb')
-rw-r--r--app/models/gpg_key.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/gpg_key.rb b/app/models/gpg_key.rb
index 116beac5c2a..995baf8565c 100644
--- a/app/models/gpg_key.rb
+++ b/app/models/gpg_key.rb
@@ -1,8 +1,8 @@
# frozen_string_literal: true
class GpgKey < ApplicationRecord
- KEY_PREFIX = '-----BEGIN PGP PUBLIC KEY BLOCK-----'.freeze
- KEY_SUFFIX = '-----END PGP PUBLIC KEY BLOCK-----'.freeze
+ KEY_PREFIX = '-----BEGIN PGP PUBLIC KEY BLOCK-----'
+ KEY_SUFFIX = '-----END PGP PUBLIC KEY BLOCK-----'
include ShaAttribute