refactored logic

This commit is contained in:
0xdcarns
2021-10-26 12:27:29 -04:00
parent d25cc93598
commit 8f72ecbaa0
33 changed files with 985 additions and 1092 deletions

View File

@@ -148,7 +148,7 @@ func TestValidateEgressGateway(t *testing.T) {
////func TestUpdateNode(t *testing.T) {
////}
func deleteAllNodes() {
nodes, _ := models.GetAllNodes()
nodes, _ := logic.GetAllNodes()
for _, node := range nodes {
key := node.MacAddress + "###" + node.Network
DeleteNode(key, true)