From 3d17e8b77fc176160f449207aff1adac8eb7f43d Mon Sep 17 00:00:00 2001 From: Robert Lucian Chiriac Date: Tue, 11 May 2021 18:53:03 +0300 Subject: [PATCH] Remove the omitempty tag for BatchesInQueue field (#2166) --- pkg/types/status/job_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/types/status/job_status.go b/pkg/types/status/job_status.go index dffa6dc8e0..13da49eeed 100644 --- a/pkg/types/status/job_status.go +++ b/pkg/types/status/job_status.go @@ -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"` }