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

payang 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 284cc929 [YUNIKORN-2121] Fix typo in comment in queue.go (#694)
284cc929 is described below

commit 284cc92974a7330c95ad3c6ecdf05ea68b9eee9d
Author: brandboat <[email protected]>
AuthorDate: Sun Nov 5 11:46:38 2023 +0800

    [YUNIKORN-2121] Fix typo in comment in queue.go (#694)
    
    Closes: #694
    
    Signed-off-by: PoAn Yang <[email protected]>
---
 pkg/scheduler/objects/queue.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/scheduler/objects/queue.go b/pkg/scheduler/objects/queue.go
index f82b7899..a6e9dc83 100644
--- a/pkg/scheduler/objects/queue.go
+++ b/pkg/scheduler/objects/queue.go
@@ -1571,7 +1571,7 @@ func (sq *Queue) updatePendingResourceMetrics() {
        }
 }
 
-// updatePendingResourceMetrics updates preempting resource metrics for all 
queue types.
+// updatePreemptingResourceMetrics updates preempting resource metrics for all 
queue types.
 func (sq *Queue) updatePreemptingResourceMetrics() {
        for k, v := range sq.preemptingResource.Resources {
                
metrics.GetQueueMetrics(sq.QueuePath).SetQueuePreemptingResourceMetrics(k, 
float64(v))


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

Reply via email to