BigW Consortium Gitlab

Commit e9e7c378 by Lin Jen-Shin

no builds no pending

parent f6051d71
......@@ -82,6 +82,8 @@ module Gitlab
end
def process_pending_duration(segments, duration)
return 0 if segments.empty?
total = segments.last.last - segments.first.first
total - duration
end
......
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