summaryrefslogtreecommitdiff
path: root/daemon/daemon.go
diff options
context:
space:
mode:
authorCory Snider <csnider@mirantis.com>2023-01-11 17:43:32 -0500
committerCory Snider <csnider@mirantis.com>2023-01-13 14:09:37 -0500
commitf96b9bf761bb9eec6356532a6d084e89a6d0c0c8 (patch)
treefbf30ed7945ecd93c99107732b4780fb214cb8b5 /daemon/daemon.go
parentae09fe3da766e6bc9a783a53c53d75acc8c4e7bc (diff)
downloaddocker-f96b9bf761bb9eec6356532a6d084e89a6d0c0c8.tar.gz
libnetwork: return concrete-typed *Controller
libnetwork.NetworkController is an interface with a single implementation. https://github.com/golang/go/wiki/CodeReviewComments#interfaces Signed-off-by: Cory Snider <csnider@mirantis.com>
Diffstat (limited to 'daemon/daemon.go')
-rw-r--r--daemon/daemon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.go b/daemon/daemon.go
index 15eacb3c81..58ceb20176 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -83,7 +83,7 @@ type Daemon struct {
defaultLogConfig containertypes.LogConfig
registryService registry.Service
EventsService *events.Events
- netController libnetwork.NetworkController
+ netController *libnetwork.Controller
volumes *volumesservice.VolumesService
root string
sysInfoOnce sync.Once