Skip to content

Commit

Permalink
[YUNIKORN-2085] Remove 'omitempty' from CurrentPriority field in Queu…
Browse files Browse the repository at this point in the history
…es API (apache#700)

Closes: apache#700

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
Haser0305 authored and makinyemi committed Nov 8, 2023
1 parent 9f9de13 commit 2497917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webservice/dao/queue_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ type PartitionQueueDAOInfo struct {
AbsUsedCapacity map[string]int64 `json:"absUsedCapacity,omitempty"`
MaxRunningApps uint64 `json:"maxRunningApps,omitempty"`
RunningApps uint64 `json:"runningApps,omitempty"`
CurrentPriority int32 `json:"currentPriority,omitempty"`
CurrentPriority int32 `json:"currentPriority"` // no omitempty, as the current priority value may be 0, which is a valid priority level
AllocatingAcceptedApps []string `json:"allocatingAcceptedApps,omitempty"`
}

0 comments on commit 2497917

Please sign in to comment.