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

Fix renaming

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