mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 15:26:04 +08:00
update proxy status
This commit is contained in:
parent
01d28e6483
commit
7ba6ce93d9
|
@ -511,7 +511,7 @@ func (ln *LegacyNode) ConvertToNewNode(host *Host) (*Host, *Node) {
|
|||
host.Nodes = append(host.Nodes, nodeID.String())
|
||||
host.Interfaces = ln.Interfaces
|
||||
host.EndpointIP = net.ParseIP(ln.Endpoint)
|
||||
// host.ProxyEnabled = ln.Proxy // this will always be false..
|
||||
host.ProxyEnabled = ln.Proxy
|
||||
node.ID = nodeID
|
||||
node.Network = ln.Network
|
||||
if _, cidr, err := net.ParseCIDR(ln.NetworkSettings.AddressRange); err == nil {
|
||||
|
|
Loading…
Reference in a new issue