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/encrypted_configuration.rb')
-rw-r--r--lib/gitlab/encrypted_configuration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/encrypted_configuration.rb b/lib/gitlab/encrypted_configuration.rb
index fe49af3ab33..6b64281e631 100644
--- a/lib/gitlab/encrypted_configuration.rb
+++ b/lib/gitlab/encrypted_configuration.rb
@@ -65,7 +65,7 @@ module Gitlab
contents = deserialize(read)
- raise InvalidConfigError.new unless contents.is_a?(Hash)
+ raise InvalidConfigError unless contents.is_a?(Hash)
@config = contents.deep_symbolize_keys
end
@@ -115,7 +115,7 @@ module Gitlab
end
def handle_missing_key!
- raise MissingKeyError.new if @key.nil?
+ raise MissingKeyError if @key.nil?
end
end
end