Fix renaming

This commit is contained in:
Lin Jen-Shin 2016-08-30 23:11:57 +08:00
parent 2af2b78e49
commit f10a1e331d
1 changed files with 1 additions and 1 deletions

View File

@ -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