mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-08 07:41:41 +08:00
Net 427 (#2451)
* send delete peer update always * fix add/remove host api calls * keep mq updates in a single go func * handle IOT OS
This commit is contained in:
parent
a40271d0e8
commit
9f59ab8b5c
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ func GetPeerUpdateForHost(network string, host *models.Host, allNodes []models.N
|
|||
}
|
||||
hostPeerUpdate.Peers[i] = peer
|
||||
}
|
||||
if deletedNode != nil {
|
||||
if deletedNode != nil && host.OS != models.OS_Types.IoT {
|
||||
peerHost, err := GetHost(deletedNode.HostID.String())
|
||||
if err == nil && host.ID != peerHost.ID {
|
||||
if _, ok := peerIndexMap[peerHost.PublicKey.String()]; !ok {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue