libnetwork: fix some missing imports on macOS and FreeBSD

This was introduced in 1980deffae, which
changed the implementation, but forgot to update imports in these.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-08-24 10:25:32 +02:00
parent cc1627ae10
commit 77c2613d3a
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
package libnetwork package libnetwork
import ( import (
"github.com/docker/docker/libnetwork/driverapi"
"github.com/docker/docker/libnetwork/drivers/null" "github.com/docker/docker/libnetwork/drivers/null"
) )

View file

@ -2,6 +2,8 @@
package libnetwork package libnetwork
import "github.com/docker/docker/libnetwork/driverapi"
func registerNetworkDrivers(r driverapi.Registerer, driverConfig func(string) map[string]interface{}) error { func registerNetworkDrivers(r driverapi.Registerer, driverConfig func(string) map[string]interface{}) error {
return nil return nil
} }