mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-18 14:54:23 +08:00
bug squashin
This commit is contained in:
@@ -162,7 +162,7 @@ func (s *NodeServiceServer) GetExtPeers(ctx context.Context, req *nodepb.Object)
|
||||
if len(macAndNetwork) != 2 {
|
||||
return nil, errors.New("did not receive valid node id when fetching ext peers")
|
||||
}
|
||||
peers, err := GetExtPeersList(macAndNetwork[1], macAndNetwork[2])
|
||||
peers, err := GetExtPeersList(macAndNetwork[0], macAndNetwork[1])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user