Skip to content

Commit

Permalink
manager/allocator/cnmallocator: StubManagerInit: config arg is unused
Browse files Browse the repository at this point in the history
Make it clearer that the config argument is not used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jun 30, 2023
1 parent 84af1f0 commit c9a2d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/allocator/cnmallocator/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type manager struct {
networkType string
}

func StubManagerInit(networkType string) func(dc driverapi.DriverCallback, config map[string]interface{}) error {
return func(dc driverapi.DriverCallback, config map[string]interface{}) error {
func StubManagerInit(networkType string) func(dc driverapi.DriverCallback, _ map[string]interface{}) error {
return func(dc driverapi.DriverCallback, _ map[string]interface{}) error {
return RegisterManager(dc, networkType)
}
}
Expand Down

0 comments on commit c9a2d13

Please sign in to comment.