mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-23 19:21:23 +02:00
fix: test
This commit is contained in:
parent
bff137b109
commit
90ef1e939b
@ -251,7 +251,7 @@ func (manager *AccountManager) AddPeer(setupKey string, peerKey string) (*Peer,
|
|||||||
return nil, status.Errorf(codes.NotFound, "unknown setupKey %s", upperKey)
|
return nil, status.Errorf(codes.NotFound, "unknown setupKey %s", upperKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
sk = getAccountSetupKeyByKey(account, setupKey)
|
sk = getAccountSetupKeyByKey(account, upperKey)
|
||||||
if sk == nil {
|
if sk == nil {
|
||||||
// shouldn't happen actually
|
// shouldn't happen actually
|
||||||
return nil, status.Errorf(codes.NotFound, "unknown setupKey %s", upperKey)
|
return nil, status.Errorf(codes.NotFound, "unknown setupKey %s", upperKey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user