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

pbacsko 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 e08375e3 [YUNIKORN-3179] Upgrade linter to 2.7.0 (#1054)
e08375e3 is described below

commit e08375e3b97a436b0a45b8a0873af6ae58393138
Author: Peter Bacsko <[email protected]>
AuthorDate: Mon Dec 8 10:36:29 2025 +0100

    [YUNIKORN-3179] Upgrade linter to 2.7.0 (#1054)
    
    Closes: #1054
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 Makefile             | 2 +-
 pkg/common/server.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e6a42123..07f05506 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ endif
 endif
 
 # golangci-lint
-GOLANGCI_LINT_VERSION=2.5.0
+GOLANGCI_LINT_VERSION=2.7.0
 GOLANGCI_LINT_PATH=$(TOOLS_DIR)/golangci-lint-v$(GOLANGCI_LINT_VERSION)
 GOLANGCI_LINT_BIN=$(GOLANGCI_LINT_PATH)/golangci-lint
 
GOLANGCI_LINT_ARCHIVE=golangci-lint-$(GOLANGCI_LINT_VERSION)-$(OS)-$(EXEC_ARCH).tar.gz
diff --git a/pkg/common/server.go b/pkg/common/server.go
index 25ef9fc5..b8212254 100644
--- a/pkg/common/server.go
+++ b/pkg/common/server.go
@@ -19,6 +19,7 @@
 package common
 
 import (
+       "context"
        "fmt"
        "net"
        "os"
@@ -26,7 +27,6 @@ import (
        "sync"
 
        "go.uber.org/zap"
-       "golang.org/x/net/context"
        "google.golang.org/grpc"
 
        "github.com/apache/yunikorn-core/pkg/log"


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

Reply via email to