mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
remove unused engine listener
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package listener
|
||||
|
||||
// EngineReadyListener is a callback interface for mobile system
|
||||
type EngineReadyListener interface {
|
||||
// Notify invoke when engine is ready
|
||||
Notify()
|
||||
}
|
||||
@@ -5,8 +5,6 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/netbirdio/netbird/client/internal/listener"
|
||||
"github.com/netbirdio/netbird/route"
|
||||
)
|
||||
@@ -64,7 +62,6 @@ func (n *notifier) notify() {
|
||||
}
|
||||
|
||||
go func(l listener.NetworkChangeListener) {
|
||||
log.Debugf("notifying route listener with route ranges: %s", strings.Join(n.routeRangers, ","))
|
||||
l.OnNetworkChanged(strings.Join(n.routeRangers, ","))
|
||||
}(n.listener)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user