Merge pull request #79 from tim-beatham/bugfix-node-not-leving

main
This commit is contained in:
Tim Beatham 2024-01-02 20:21:27 +00:00 committed by GitHub
commit 4543205703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ func (s *SyncerImpl) Sync(correspondingMesh mesh.MeshProvider) error {
for _, node := range gossipNodes {
correspondingPeer, err := correspondingMesh.GetNode(node)
if correspondingPeer == nil || err == nil {
if correspondingPeer == nil || err != nil {
logging.Log.WriteErrorf("node %s does not exist", node)
continue
}