summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-03-06 14:50:56 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2017-03-06 20:54:30 +0100
commit0905fe4d7ad778eba78d57da2fa1f38575721622 (patch)
treec2df0150a20d1e09b78adb805ce1ca3b0af5601e /app/models
parent2956f0a6f568bdac6eecb902a877e7d339211383 (diff)
downloadgitlab-ce-0905fe4d7ad778eba78d57da2fa1f38575721622.tar.gz
Change artifacts and cache fields to arrays
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 5ef089c87c5..77c82a0edf9 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -524,11 +524,11 @@ module Ci
end
def artifacts
- options[:artifacts]
+ [options[:artifacts]]
end
def cache
- options[:cache]
+ [options[:cache]]
end
def credentials