mirror of
https://github.com/harness/drone.git
synced 2025-05-04 09:21:08 +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 {
|
||||
Total int `json:"total,omitempty"`
|
||||
Additions int `json:"additions,omitempty"`
|
||||
Deletions int `json:"deletions,omitempty"`
|
||||
Total int `json:"total"`
|
||||
Additions int `json:"additions"`
|
||||
Deletions int `json:"deletions"`
|
||||
}
|
||||
|
||||
type Commit struct {
|
||||
|
Loading…
Reference in New Issue
Block a user