File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,10 @@ type ViewJobStep struct {
106
106
}
107
107
108
108
type ViewStepLog struct {
109
- Step int `json:"step"`
110
- Cursor int64 `json:"cursor"`
111
- Lines []* ViewStepLogLine `json:"lines"`
109
+ Step int `json:"step"`
110
+ Cursor int64 `json:"cursor"`
111
+ Lines []* ViewStepLogLine `json:"lines"`
112
+ Started int64 `json:"started"`
112
113
}
113
114
114
115
type ViewStepLogLine struct {
@@ -241,9 +242,10 @@ func ViewPost(ctx *context_module.Context) {
241
242
}
242
243
243
244
resp .Logs .StepsLog = append (resp .Logs .StepsLog , & ViewStepLog {
244
- Step : cursor .Step ,
245
- Cursor : cursor .Cursor + int64 (len (logLines )),
246
- Lines : logLines ,
245
+ Step : cursor .Step ,
246
+ Cursor : cursor .Cursor + int64 (len (logLines )),
247
+ Lines : logLines ,
248
+ Started : int64 (step .Started ),
247
249
})
248
250
}
249
251
}
You can’t perform that action at this time.
0 commit comments