isStatic now only represents whether the Endpoint var is static

This commit is contained in:
afeiszli
2022-05-20 11:19:55 -04:00
committed by 0xdcarns
parent 4b72a4e289
commit 3f038ab951
5 changed files with 60 additions and 59 deletions

View File

@@ -680,7 +680,7 @@ func networkNodesUpdateAction(networkName string, action string) error {
fmt.Println("error in node address assignment!")
return err
}
if action == models.NODE_UPDATE_KEY && node.IsStatic == "yes" {
if action == models.NODE_UPDATE_KEY {
continue
}
if node.Network == networkName {