Skip to content

Commit

Permalink
fix wrong reference (#2695)
Browse files Browse the repository at this point in the history
Signed-off-by: bcmmbaga <[email protected]>
  • Loading branch information
bcmmbaga authored Oct 4, 2024
1 parent 8bf729c commit 5897a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion management/server/mock_server/account_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (am *MockAccountManager) CreateSetupKey(

// AccountExists mock implementation of AccountExists from server.AccountManager interface
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 false, status.Errorf(codes.Unimplemented, "method AccountExists is not implemented")
Expand Down

0 comments on commit 5897a48

Please sign in to comment.