Skip to content

Commit f3cd474

Browse files
authored
removed omitempty
1 parent 42bd263 commit f3cd474

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nomad/request.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package nomad
22

33
type ScaleRequest struct {
4-
Count int `json:"Count,omitempty"`
4+
Count int `json:"Count"`
55
Target ScaleGroupRequest `json:"Target"`
66
}
77

88
type ScaleGroupRequest struct {
9-
Group string `json:"Group,omitempty"`
9+
Group string `json:"Group"`
1010
}
1111

1212
type RunJobRequest struct {
1313
Job JobDefinition `json:"Job"`
14-
Format string `json:"Format,omitempty"`
14+
Format string `json:"Format"`
1515
}

0 commit comments

Comments
 (0)