mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
build: address interfacebloat
warning for SubVolumeClient
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
2ab3e40369
commit
9e76eceb5e
@ -49,6 +49,8 @@ type Subvolume struct {
|
||||
|
||||
// SubVolumeClient is the interface that holds the signature of subvolume methods
|
||||
// that interacts with CephFS subvolume API's.
|
||||
//
|
||||
//nolint:interfacebloat // SubVolumeClient has more than 10 methods, that is ok.
|
||||
type SubVolumeClient interface {
|
||||
// GetVolumeRootPathCeph returns the root path of the subvolume.
|
||||
GetVolumeRootPathCeph(ctx context.Context) (string, error)
|
||||
|
Loading…
Reference in New Issue
Block a user