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 <[email protected]>
  • Loading branch information
thaJeztah committed Jun 30, 2023
1 parent 12e58a0 commit e59e2fe
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 e59e2fe

Please sign in to comment.