summaryrefslogtreecommitdiff
path: root/app/uploaders/legacy_artifact_uploader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/uploaders/legacy_artifact_uploader.rb')
-rw-r--r--app/uploaders/legacy_artifact_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/legacy_artifact_uploader.rb b/app/uploaders/legacy_artifact_uploader.rb
index a9afc104ed1..885d2253222 100644
--- a/app/uploaders/legacy_artifact_uploader.rb
+++ b/app/uploaders/legacy_artifact_uploader.rb
@@ -17,7 +17,7 @@ class LegacyArtifactUploader < GitlabUploader
private
def dynamic_segment
- raise ObjectNotReadyError, 'Build is not ready' unless model.id
+ raise ObjectNotReadyError, _('Build is not ready') unless model.id
File.join(model.created_at.utc.strftime('%Y_%m'), model.project_id.to_s, model.id.to_s)
end