summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-21 17:41:59 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-21 17:41:59 +0800
commit6887521ecfbc98441e905a920406d0cd09d24a2d (patch)
treecd246ce3a38850e1af62693ed9446f8c9591baa8 /app/models
parent637a41400ccaf853745dc208b5e583651b579a9d (diff)
downloadgitlab-ce-6887521ecfbc98441e905a920406d0cd09d24a2d.tar.gz
Sorry, was confused.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 5be2aca0cfb..416ea820e0c 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -142,7 +142,7 @@ module Ci
end
def trace_with_state(state: nil, last_lines: nil)
- trace_ansi = trace(last_lines)
+ trace_ansi = trace(last_lines: last_lines)
if trace_ansi.present?
Ci::Ansi2html.convert(trace_ansi, state)
else