build: address interfacebloat warning for SubVolumeClient

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-06-02 14:36:39 +02:00 committed by mergify[bot]
parent 2ab3e40369
commit 9e76eceb5e

View File

@ -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)