Skip to content

Commit f392619

Browse files
committed
libtailscale: set EventBus in wgengine.Config
Updates tailscale/tailscale#16369 Signed-off-by: Nick Khyl <[email protected]>
1 parent 014f591 commit f392619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libtailscale/backend.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ func (a *App) newBackend(dataDir string, appCtx AppContext, store *stateStore,
317317
HealthTracker: sys.HealthTracker(),
318318
Metrics: sys.UserMetricsRegistry(),
319319
DriveForLocal: driveimpl.NewFileSystemForLocal(logf),
320+
EventBus: sys.Bus.Get(),
320321
})
321322
if err != nil {
322323
return nil, fmt.Errorf("runBackend: NewUserspaceEngine: %v", err)

0 commit comments

Comments
 (0)