From 9e76eceb5ebca5ec321691c3ba2171687b0861f1 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 14:36:39 +0200 Subject: [PATCH] build: address `interfacebloat` warning for SubVolumeClient Signed-off-by: Niels de Vos --- internal/cephfs/core/volume.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cephfs/core/volume.go b/internal/cephfs/core/volume.go index ff71baf41..c95a7cc86 100644 --- a/internal/cephfs/core/volume.go +++ b/internal/cephfs/core/volume.go @@ -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)