Remove GetNetworkMap stacktrace(#1941)

This commit is contained in:
pascal-fischer 2024-05-07 19:19:30 +02:00 committed by GitHub
parent 920877964f
commit 0a75da6fb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,6 @@ import (
"net/netip" "net/netip"
"reflect" "reflect"
"regexp" "regexp"
"runtime/debug"
"strings" "strings"
"sync" "sync"
"time" "time"
@ -389,8 +388,6 @@ func (a *Account) GetGroup(groupID string) *nbgroup.Group {
// GetPeerNetworkMap returns a group by ID if exists, nil otherwise // GetPeerNetworkMap returns a group by ID if exists, nil otherwise
func (a *Account) GetPeerNetworkMap(peerID, dnsDomain string, validatedPeersMap map[string]struct{}) *NetworkMap { func (a *Account) GetPeerNetworkMap(peerID, dnsDomain string, validatedPeersMap map[string]struct{}) *NetworkMap {
log.Debugf("GetNetworkMap with trace: %s", string(debug.Stack()))
peer := a.Peers[peerID] peer := a.Peers[peerID]
if peer == nil { if peer == nil {
return &NetworkMap{ return &NetworkMap{