summaryrefslogtreecommitdiff
path: root/app/models/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-19 14:53:31 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-19 14:58:17 +0200
commit6b07a5b26c115e0844e6e74efe6c6405c5a82812 (patch)
tree24d51f37677f04dff900cedfc5b9be90a3c85eab /app/models/ci
parent276d28a60fe0276ce5aa72f323fc25935f5c720d (diff)
downloadgitlab-ce-6b07a5b26c115e0844e6e74efe6c6405c5a82812.tar.gz
Improve code design
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/build.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 775e2d363ea..e02351ce339 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -457,6 +457,7 @@ module Ci
def build_attributes_from_config
return {} unless pipeline.config_processor
+
pipeline.config_processor.build_attributes(name)
end
end