mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-26 02:10:24 +08:00
refactoring validation and models
This commit is contained in:
@@ -51,8 +51,7 @@ func CreateCommsNetwork() (bool, error) {
|
||||
network.SetNodesLastModified()
|
||||
network.SetNetworkLastModified()
|
||||
network.KeyUpdateTimeStamp = time.Now().Unix()
|
||||
priv := false
|
||||
network.IsLocal = &priv
|
||||
network.IsLocal = "no"
|
||||
network.KeyUpdateTimeStamp = time.Now().Unix()
|
||||
|
||||
log.Println("Creating comms network...")
|
||||
|
||||
Reference in New Issue
Block a user