(maint) add warning around typo for stage_id in step struct
This commit is contained in:
parent
7e757c4a3d
commit
cee773ac6a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ type (
|
||||||
// Step represents an individual step in the stage.
|
// Step represents an individual step in the stage.
|
||||||
Step struct {
|
Step struct {
|
||||||
ID int64 `json:"id"`
|
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"`
|
Number int `json:"number"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
|
|
Loading…
Reference in a new issue