mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-23 02:36:42 +00:00
Refactor network monitor to wait for stop (#1992)
This commit is contained in:
@@ -4,8 +4,9 @@ package networkmonitor
|
||||
|
||||
import "context"
|
||||
|
||||
func (nw *NetworkWatcher) Start(context.Context, func()) {
|
||||
func (nw *NetworkMonitor) Start(context.Context, func()) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (nw *NetworkWatcher) Stop() {
|
||||
func (nw *NetworkMonitor) Stop() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user