mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-08 07:41:41 +08:00
ignored nodes with PendingDelete set
This commit is contained in:
parent
05b068cd89
commit
f4829088ca
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ func GetPeerUpdateForHost(host *models.Host) (models.HostPeerUpdate, error) {
|
|||
if err != nil {
|
||||
continue
|
||||
}
|
||||
if !node.Connected || node.Action == models.NODE_DELETE {
|
||||
if !node.Connected || node.Action == models.NODE_DELETE || node.PendingDelete {
|
||||
continue
|
||||
}
|
||||
hostPeerUpdate.Network[node.Network] = models.NetworkInfo{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue