From dde21543bd442abe20fb1c7e33c36e16d4f6e0e6 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 3 Aug 2022 12:49:17 +0530 Subject: [PATCH] cephfs: fix staticcheck comment getting is unused for linter "staticcheck" (nolintlint) error message due to wrong comment format. this the format now with `//directive // comment` 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 cca1320f6..3773cebbf 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:staticcheck // See comment above. "google.golang.org/protobuf/encoding/protojson" )