fix: only last discoveryUrl set discoveredNodes

This commit is contained in:
harsh-98 2023-05-04 10:57:35 +05:30 committed by RichΛrd
parent 8711a08df6
commit caeba39b21
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ func Execute(options Options) {
discAddresses = append(discAddresses, n.Addresses...)
}
logger.Info("found dns entries ", logging.MultiAddrs("nodes", discAddresses...))
discoveredNodes = nodes
discoveredNodes = append(discoveredNodes, nodes...)
}
}
} else {