mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Refactor Route IDs (#1891)
This commit is contained in:
@@ -67,7 +67,7 @@ func (mockDatasource) GetAllAccounts() []*server.Account {
|
||||
SourcePostureChecks: []string{"1"},
|
||||
},
|
||||
},
|
||||
Routes: map[string]*route.Route{
|
||||
Routes: map[route.ID]*route.Route{
|
||||
"1": {
|
||||
ID: "1",
|
||||
PeerGroups: make([]string, 1),
|
||||
@@ -151,7 +151,7 @@ func (mockDatasource) GetAllAccounts() []*server.Account {
|
||||
},
|
||||
},
|
||||
},
|
||||
Routes: map[string]*route.Route{
|
||||
Routes: map[route.ID]*route.Route{
|
||||
"1": {
|
||||
ID: "1",
|
||||
PeerGroups: make([]string, 1),
|
||||
|
||||
Reference in New Issue
Block a user