Skip to content

Commit

Permalink
ci: identical methods or type constraints from another interface (iface)
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar committed Dec 20, 2024
1 parent f045542 commit f175130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/cephfs/mounter/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions internal/cephfs/mounter/volumemounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f175130

Please sign in to comment.