Skip to content

Commit cfd9712

Browse files
committed
Fix BuildDuration type
1 parent a7a2c8c commit cfd9712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/payload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ type BuildEventPayload struct {
139139
BuildStatus string `json:"build_status"`
140140
BuildStartedAt customTime `json:"build_started_at"`
141141
BuildFinishedAt customTime `json:"build_finished_at"`
142-
BuildDuration int64 `json:"build_duration"`
142+
BuildDuration float64 `json:"build_duration"`
143143
BuildAllowFailure bool `json:"build_allow_failure"`
144144
ProjectID int64 `json:"project_id"`
145145
ProjectName string `json:"project_name"`

0 commit comments

Comments
 (0)