Skip to content

Commit

Permalink
feat(events) Add Deployment uuid to Deployemtn Event / fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoEb committed Aug 18, 2021
1 parent 2f2def3 commit 6040bc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## To Be Released

* build(deps): bump github.com/golang/mock from 1.5.0 to 1.6.0
* Add `DeploymentUUID` to the deployment event and fix a typo [#216](https://github.com/Scalingo/go-scalingo/pull/216)

## 4.13.0

Expand Down
11 changes: 6 additions & 5 deletions events_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,12 @@ func (ev *EventDeploymentType) String() string {
}

type EventDeploymentTypeData struct {
DeploymentID string `json:"deployment_id"`
Puser string `json:"pusher"`
GitRef string `json:"git_ref"`
Status string `json:"status"`
Duration int `json:"duration"`
DeploymentID string `json:"deployment_id"`
Pusher string `json:"pusher"`
GitRef string `json:"git_ref"`
Status string `json:"status"`
Duration int `json:"duration"`
DeploymentUUID string `json:"deployment_uuid"`
}

type EventLinkGithubType struct {
Expand Down

0 comments on commit 6040bc8

Please sign in to comment.