Skip to content

Commit 3d17e8b

Browse files
authored
Remove the omitempty tag for BatchesInQueue field (#2166)
1 parent 6e77ab8 commit 3d17e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/status/job_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type BatchJobStatus struct {
2727
spec.BatchJob
2828
Status JobCode `json:"status"`
2929
EndTime *time.Time `json:"end_time,omitempty"`
30-
BatchesInQueue int `json:"batches_in_queue,omitempty"`
30+
BatchesInQueue int `json:"batches_in_queue"`
3131
BatchMetrics *metrics.BatchMetrics `json:"batch_metrics,omitempty"`
3232
WorkerCounts *WorkerCounts `json:"worker_counts,omitempty"`
3333
}

0 commit comments

Comments
 (0)