1
0
mirror of https://github.com/harness/drone.git synced 2022-03-12 19:30:52 +03:00

Merge pull request #3179 from tphoney/comment_on_step

(maint) add warning around typo for stage_id in step struct
This commit is contained in:
TP Honey
2022-01-11 10:45:14 +00:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ type (
// Step represents an individual step in the stage.
Step struct {
ID int64 `json:"id"`
StageID int64 `json:"step_id"`
StageID int64 `json:"step_id"` // this is a typo, fixing it has far reaching ramifications. It should only be attempted in a major version change
Number int `json:"number"`
Name string `json:"name"`
Status string `json:"status"`