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:
authorYoginth <me@yoginth.com>2019-05-20 17:11:44 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-05-20 17:11:44 +0300
commit2f6a20ce665de6a23fe2c1cc28cc6398afcb1b71 (patch)
tree8d11b78ab29992a7af02aed9dca5289aeb3d21bb /lib/gitlab/config
parent9c1470c260032c8b3d9cd6cf759fd08a610e9a1b (diff)
Fix typos in the whole gitlab-ce project
Diffstat (limited to 'lib/gitlab/config')
-rw-r--r--lib/gitlab/config/entry/validators.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/config/entry/validators.rb b/lib/gitlab/config/entry/validators.rb
index df34d254c65..6796fcce75f 100644
--- a/lib/gitlab/config/entry/validators.rb
+++ b/lib/gitlab/config/entry/validators.rb
@@ -36,10 +36,10 @@ module Gitlab
class AllowedArrayValuesValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
- unkown_values = value - options[:in]
- unless unkown_values.empty?
+ unknown_values = value - options[:in]
+ unless unknown_values.empty?
record.errors.add(attribute, "contains unknown values: " +
- unkown_values.join(', '))
+ unknown_values.join(', '))
end
end
end