We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42bd263 commit f3cd474Copy full SHA for f3cd474
nomad/request.go
@@ -1,15 +1,15 @@
1
package nomad
2
3
type ScaleRequest struct {
4
- Count int `json:"Count,omitempty"`
+ Count int `json:"Count"`
5
Target ScaleGroupRequest `json:"Target"`
6
}
7
8
type ScaleGroupRequest struct {
9
- Group string `json:"Group,omitempty"`
+ Group string `json:"Group"`
10
11
12
type RunJobRequest struct {
13
Job JobDefinition `json:"Job"`
14
- Format string `json:"Format,omitempty"`
+ Format string `json:"Format"`
15
0 commit comments