mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-13 17:07:30 +02:00
Introduce locking on the account level (#548)
This commit is contained in:
@ -380,7 +380,7 @@ func TestSaveRoute(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
account, err = am.GetAccountById(account.Id)
|
||||
account, err = am.Store.GetAccount(account.Id)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@ -845,5 +845,5 @@ func initTestRouteAccount(t *testing.T, am *DefaultAccountManager) (*Account, er
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return am.GetAccountById(accountID)
|
||||
return am.Store.GetAccount(account.Id)
|
||||
}
|
||||
|
Reference in New Issue
Block a user