From 5941371c4b38d253bc2851d63f85f30e6eeaa017 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 29 Apr 2025 12:31:30 +0200 Subject: [PATCH] cleanup: address golangci 'nolintlint' issue There is no issue with importing "github.com/golang/protobuf/proto" anymore, the lint annotation can be removed. Signed-off-by: Niels de Vos --- internal/cephfs/util/mountinfo.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/cephfs/util/mountinfo.go b/internal/cephfs/util/mountinfo.go index 3895a4331..9397b36e1 100644 --- a/internal/cephfs/util/mountinfo.go +++ b/internal/cephfs/util/mountinfo.go @@ -23,8 +23,7 @@ import ( "path" "github.com/container-storage-interface/spec/lib/go/csi" - // google.golang.org/protobuf/encoding doesn't offer MessageV2(). - "github.com/golang/protobuf/proto" //nolint:all // See comment above. + "github.com/golang/protobuf/proto" "google.golang.org/protobuf/encoding/protojson" )