mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-17 18:29:30 +00:00
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 <madhupr007@gmail.com>
(cherry picked from commit 4016876c9d
)
This commit is contained in:
parent
c9b0f1752a
commit
1c1ff6039b
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user