Skip to content

Commit

Permalink
rbd: return rbdManager type from NewManager
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar committed Aug 6, 2024
1 parent 1318bba commit 5821b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rbd/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type rbdManager struct {

// NewManager returns a new manager for handling Volume and Volume Group
// operations, combining the requests for RBD and the journalling in RADOS.
func NewManager(csiID string, parameters, secrets map[string]string) types.Manager {
func NewManager(csiID string, parameters, secrets map[string]string) *rbdManager {
return &rbdManager{
csiID: csiID,
parameters: parameters,
Expand Down

0 comments on commit 5821b13

Please sign in to comment.