Skip to content

Commit

Permalink
set peer update for disconnected Node
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Nov 13, 2023
1 parent e30b765 commit 33cb765
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mq/publishers.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ func PublishSingleHostPeerUpdate(host *models.Host, allNodes []models.Node, dele
if err != nil {
return err
}
if len(peerUpdate.Peers) == 0 { // no peers to send
return nil
}

data, err := json.Marshal(&peerUpdate)
if err != nil {
return err
Expand Down

0 comments on commit 33cb765

Please sign in to comment.