This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 30e69f97 [YUNIKORN-2085] Remove 'omitempty' from CurrentPriority field 
in Queues API (#700)
30e69f97 is described below

commit 30e69f97585bc3a82f4b9c54f4cc4b601120a776
Author: haser <[email protected]>
AuthorDate: Tue Nov 7 12:30:12 2023 -0600

    [YUNIKORN-2085] Remove 'omitempty' from CurrentPriority field in Queues API 
(#700)
    
    Closes: #700
    
    Signed-off-by: Craig Condit <[email protected]>
---
 pkg/webservice/dao/queue_info.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/webservice/dao/queue_info.go b/pkg/webservice/dao/queue_info.go
index fba15ef0..b6f60073 100644
--- a/pkg/webservice/dao/queue_info.go
+++ b/pkg/webservice/dao/queue_info.go
@@ -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"`
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to