summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-11-08 10:46:47 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:04:49 +0100
commitba5697fd809563cb2fd619d7c50362303ab86434 (patch)
tree3aeacb4859798379b9a2ed1cf41356e49fb70cae /app/uploaders
parent1756604f90588a746ce6df7e4386830db9b3a485 (diff)
downloadgitlab-ce-ba5697fd809563cb2fd619d7c50362303ab86434.tar.gz
Fix legacy migration test
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/artifact_uploader.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/uploaders/artifact_uploader.rb b/app/uploaders/artifact_uploader.rb
index d4dda8e9e67..14addb6cf14 100644
--- a/app/uploaders/artifact_uploader.rb
+++ b/app/uploaders/artifact_uploader.rb
@@ -34,8 +34,6 @@ class ArtifactUploader < GitlabUploader
end
def default_path
- File.join(job.project_id.to_s,
- job.created_at.utc.strftime('%Y_%m'),
- job.id.to_s)
+ File.join(job.created_at.utc.strftime('%Y_%m'), job.project_id.to_s, job.id.to_s)
end
end