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 28, 2023
1 parent ef84a10 commit ff0593c
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 ff0593c

Please sign in to comment.