From 77c2613d3a482f447dbe495942a9919793399f0b Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 24 Aug 2023 10:25:32 +0200 Subject: [PATCH] libnetwork: fix some missing imports on macOS and FreeBSD This was introduced in 1980deffaeed881e04abe48aba6295fd67d84f4a, which changed the implementation, but forgot to update imports in these. Signed-off-by: Sebastiaan van Stijn --- libnetwork/drivers_freebsd.go | 1 + libnetwork/drivers_unsupported.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libnetwork/drivers_freebsd.go b/libnetwork/drivers_freebsd.go index b0e19ea911..ab5f12c8a0 100644 --- a/libnetwork/drivers_freebsd.go +++ b/libnetwork/drivers_freebsd.go @@ -1,6 +1,7 @@ package libnetwork import ( + "github.com/docker/docker/libnetwork/driverapi" "github.com/docker/docker/libnetwork/drivers/null" ) diff --git a/libnetwork/drivers_unsupported.go b/libnetwork/drivers_unsupported.go index f99448f360..aafdbf23c2 100644 --- a/libnetwork/drivers_unsupported.go +++ b/libnetwork/drivers_unsupported.go @@ -2,6 +2,8 @@ package libnetwork +import "github.com/docker/docker/libnetwork/driverapi" + func registerNetworkDrivers(r driverapi.Registerer, driverConfig func(string) map[string]interface{}) error { return nil }