Skip to content

Commit

Permalink
Remove the omitempty tag for BatchesInQueue field (#2166)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertLucian authored May 11, 2021
1 parent 6e77ab8 commit 3d17e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/status/job_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type BatchJobStatus struct {
spec.BatchJob
Status JobCode `json:"status"`
EndTime *time.Time `json:"end_time,omitempty"`
BatchesInQueue int `json:"batches_in_queue,omitempty"`
BatchesInQueue int `json:"batches_in_queue"`
BatchMetrics *metrics.BatchMetrics `json:"batch_metrics,omitempty"`
WorkerCounts *WorkerCounts `json:"worker_counts,omitempty"`
}
Expand Down

0 comments on commit 3d17e8b

Please sign in to comment.