From 4016876c9db17164ba9f4a39bd482b558adfa467 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 24 Aug 2023 13:05:31 +0200 Subject: [PATCH] cephfs: fix make go-lint error Not sure why but go-lint is failing with below error and this fix is required to make it pass ``` directive `//nolint:staticcheck // See comment above.` is unused for linter "staticcheck" (nolintlint) ``` Signed-off-by: Madhu Rajanna --- internal/cephfs/util/mountinfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cephfs/util/mountinfo.go b/internal/cephfs/util/mountinfo.go index 3773cebbf..3895a4331 100644 --- a/internal/cephfs/util/mountinfo.go +++ b/internal/cephfs/util/mountinfo.go @@ -24,7 +24,7 @@ import ( "github.com/container-storage-interface/spec/lib/go/csi" // google.golang.org/protobuf/encoding doesn't offer MessageV2(). - "github.com/golang/protobuf/proto" //nolint:staticcheck // See comment above. + "github.com/golang/protobuf/proto" //nolint:all // See comment above. "google.golang.org/protobuf/encoding/protojson" )