Commit f10a1e33 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix renaming

parent 2af2b78e
...@@ -2,7 +2,7 @@ module Gitlab ...@@ -2,7 +2,7 @@ module Gitlab
module Ci module Ci
class PipelineDuration class PipelineDuration
PeriodStruct = Struct.new(:first, :last) PeriodStruct = Struct.new(:first, :last)
class Period < SegmentStruct class Period < PeriodStruct
def duration def duration
last - first last - first
end 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