mirror of
https://github.com/harness/drone.git
synced 2025-05-07 20:01:35 +08:00
Remove omitempty from CommitDiffStats (#1112)
This commit is contained in:
parent
18ba322dbe
commit
d0a087aa90
@ -57,9 +57,9 @@ type TagFilter struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CommitDiffStats struct {
|
type CommitDiffStats struct {
|
||||||
Total int `json:"total,omitempty"`
|
Total int `json:"total"`
|
||||||
Additions int `json:"additions,omitempty"`
|
Additions int `json:"additions"`
|
||||||
Deletions int `json:"deletions,omitempty"`
|
Deletions int `json:"deletions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Commit struct {
|
type Commit struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user