mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 08:59:08 +02:00
Refactor RemoveLocalPeerStateRoute to eliminate resourceId parameter
This commit is contained in:
@@ -607,7 +607,7 @@ func (d *Status) AddLocalPeerStateRoute(route, resourceId string) {
|
||||
}
|
||||
|
||||
// RemoveLocalPeerStateRoute removes a route from the local peer state
|
||||
func (d *Status) RemoveLocalPeerStateRoute(route, resourceId string) {
|
||||
func (d *Status) RemoveLocalPeerStateRoute(route string) {
|
||||
d.mux.Lock()
|
||||
defer d.mux.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user