summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-22 13:37:23 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-22 13:37:23 +0100
commit6a18a78184293863eafc9b9b1a9e7fd5687a507c (patch)
treed7fb31c59339eccc8ea9d9344865183624affa7f
parent07ce4c28b3c854a912a1b98d0715d0ed3f8c937d (diff)
downloadgitlab-ce-6a18a78184293863eafc9b9b1a9e7fd5687a507c.tar.gz
Include build trace status in data attribute always
-rw-r--r--app/helpers/builds_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb
index fde297c588e..9662ac7e341 100644
--- a/app/helpers/builds_helper.rb
+++ b/app/helpers/builds_helper.rb
@@ -12,7 +12,7 @@ module BuildsHelper
build_url: namespace_project_build_url(@project.namespace, @project, @build, :json),
build_status: @build.status,
build_stage: @build.stage,
- state1: @build.trace_with_state[:state]
+ state1: @build.trace_with_state[:state].to_s
}
end
end