mirror of
https://github.com/netbirdio/netbird.git
synced 2025-05-02 15:24:39 +02:00
fix wrong reference (#2695)
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
parent
8bf729c7b4
commit
5897a48e29
@ -197,7 +197,7 @@ func (am *MockAccountManager) CreateSetupKey(
|
|||||||
|
|
||||||
// AccountExists mock implementation of AccountExists from server.AccountManager interface
|
// AccountExists mock implementation of AccountExists from server.AccountManager interface
|
||||||
func (am *MockAccountManager) AccountExists(ctx context.Context, accountID string) (bool, error) {
|
func (am *MockAccountManager) AccountExists(ctx context.Context, accountID string) (bool, error) {
|
||||||
if am.GetAccountIDByUserIdFunc != nil {
|
if am.AccountExistsFunc != nil {
|
||||||
return am.AccountExistsFunc(ctx, accountID)
|
return am.AccountExistsFunc(ctx, accountID)
|
||||||
}
|
}
|
||||||
return false, status.Errorf(codes.Unimplemented, "method AccountExists is not implemented")
|
return false, status.Errorf(codes.Unimplemented, "method AccountExists is not implemented")
|
||||||
|
Loading…
Reference in New Issue
Block a user