Skip to content

Commit 41a0e99

Browse files
committed
manager/allocator/cnmallocator: remove unused nType argument
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 3629f50 commit 41a0e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/allocator/cnmallocator/networkallocator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ func (na *cnmNetworkAllocator) allocatePools(n *api.Network) (map[string]string,
980980

981981
func initializeDrivers(reg *drvregistry.DrvRegistry) error {
982982
for _, i := range initializers {
983-
if err := reg.AddDriver(i.ntype, i.fn, nil); err != nil {
983+
if err := reg.AddDriver(i.fn, nil); err != nil {
984984
return err
985985
}
986986
}

0 commit comments

Comments
 (0)