From 7ba6ce93d9134b5a49729ee7c17fffdeb1a269ad Mon Sep 17 00:00:00 2001 From: Abhishek Kondur Date: Tue, 10 Jan 2023 19:08:58 +0530 Subject: [PATCH] update proxy status --- models/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/node.go b/models/node.go index e924b130..5944f5f4 100644 --- a/models/node.go +++ b/models/node.go @@ -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 {