moby/libnetwork/drivers_freebsd.go
Cory Snider d519bde5da libnet/drivers: stop passing config to drivers...
...which ignore the config argument. Notably, none of the network
drivers referenced by Swarmkit use config, which is good as Swarmkit
unconditionally passes nil for the config when registering drivers.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-07-06 12:57:00 -04:00

9 lines
221 B
Go

package libnetwork
import (
"github.com/docker/docker/libnetwork/drivers/null"
)
func registerNetworkDrivers(r driverapi.Registerer, driverConfig func(string) map[string]interface{}) error {
return null.Register(r)
}