Skip to content

Commit

Permalink
cephfs: fix make go-lint error
Browse files Browse the repository at this point in the history
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 <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed Aug 29, 2023
1 parent 97d9f70 commit 11591a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cephfs/util/mountinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit 11591a8

Please sign in to comment.