Commit 7e32e2ef authored by Lin Jen-Shin's avatar Lin Jen-Shin

build might not start yet

parent e9e7c378
...@@ -12,7 +12,7 @@ module Gitlab ...@@ -12,7 +12,7 @@ module Gitlab
now = Time.now now = Time.now
segments = builds.map do |b| segments = builds.map do |b|
Segment.new(b.started_at, b.finished_at || now) Segment.new(b.started_at || now, b.finished_at || now)
end end
new(segments) new(segments)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment