mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
fix: test
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user