Skip to content

Commit

Permalink
build: address interfacebloat warning for SubVolumeClient
Browse files Browse the repository at this point in the history
Signed-off-by: Niels de Vos <ndevos@ibm.com>
  • Loading branch information
nixpanic authored and mergify[bot] committed Jun 5, 2023
1 parent 2ab3e40 commit 9e76ece
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cephfs/core/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9e76ece

Please sign in to comment.