summaryrefslogtreecommitdiff
path: root/lib/object_storage/direct_upload.rb
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-01-30 05:10:37 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-01-31 04:56:51 +0000
commite33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch)
treece5d1515f93c1e38a01c95b5e0f07f1b572f3763 /lib/object_storage/direct_upload.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/object_storage/direct_upload.rb')
-rw-r--r--lib/object_storage/direct_upload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/object_storage/direct_upload.rb b/lib/object_storage/direct_upload.rb
index fd26663fef0..7f2d33429d8 100644
--- a/lib/object_storage/direct_upload.rb
+++ b/lib/object_storage/direct_upload.rb
@@ -27,7 +27,7 @@ module ObjectStorage
def initialize(credentials, bucket_name, object_name, has_length:, maximum_size: nil)
unless has_length
- raise ArgumentError, 'maximum_size has to be specified if length is unknown' unless maximum_size
+ raise ArgumentError, _('maximum_size has to be specified if length is unknown') unless maximum_size
end
@credentials = credentials