diff --git a/internal/cephfs/mounter/kernel.go b/internal/cephfs/mounter/kernel.go index 09bc707f5b8..499d57e8a94 100644 --- a/internal/cephfs/mounter/kernel.go +++ b/internal/cephfs/mounter/kernel.go @@ -35,6 +35,7 @@ const ( // testErrorf can be set by unit test for enhanced error reporting. var testErrorf = func(fmt string, args ...any) { /* do nothing */ } +//nolint: iface type KernelMounter interface { Mount( ctx context.Context, diff --git a/internal/cephfs/mounter/volumemounter.go b/internal/cephfs/mounter/volumemounter.go index edf85f5d0df..060d364969a 100644 --- a/internal/cephfs/mounter/volumemounter.go +++ b/internal/cephfs/mounter/volumemounter.go @@ -98,6 +98,7 @@ func LoadAvailableMounters(conf *util.Config) error { return nil } +//nolint:iface type VolumeMounter interface { Mount(ctx context.Context, mountPoint string, cr *util.Credentials, volOptions *store.VolumeOptions) error Name() string