You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by ch...@apache.org on 2024/02/14 12:01:16 UTC

(yunikorn-core) branch master updated: [YUNIKORN-2408] fix golangci-lint warning in context.go (#799)

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

chia7712 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 c2e82daf [YUNIKORN-2408] fix golangci-lint warning in context.go (#799)
c2e82daf is described below

commit c2e82dafb349143cf0975cc47bc05c4bf5639f5a
Author: Ryan Lo <we...@apache.org>
AuthorDate: Wed Feb 14 20:00:54 2024 +0800

    [YUNIKORN-2408] fix golangci-lint warning in context.go (#799)
    
    Closes: #799
    
    Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>
---
 pkg/scheduler/context.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/scheduler/context.go b/pkg/scheduler/context.go
index 4c7e7c24..c30a811d 100644
--- a/pkg/scheduler/context.go
+++ b/pkg/scheduler/context.go
@@ -600,7 +600,7 @@ func (cc *ClusterContext) addNode(nodeInfo *si.NodeInfo, schedulable bool) error
 	partition := cc.GetPartition(sn.Partition)
 	if partition == nil {
 		err := fmt.Errorf("failed to find partition %s for new node %s", sn.Partition, sn.NodeID)
-		//nolint: TODO assess impact of partition metrics (this never hit the partition)
+		//nolint:godox //TODO: assess impact of partition metrics (this never hit the partition)
 		metrics.GetSchedulerMetrics().IncFailedNodes()
 		log.Log(log.SchedContext).Error("Failed to add node to non existing partition",
 			zap.String("nodeID", sn.NodeID),


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org