From 977962736ac219137ece1d6a8b0bac344c53e4c2 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Wed, 17 Mar 2021 23:09:45 +0100 Subject: [PATCH] Removed log message --- machine.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/machine.go b/machine.go index bd3e9c4..4002377 100644 --- a/machine.go +++ b/machine.go @@ -8,7 +8,6 @@ import ( "strconv" "time" - "github.com/davecgh/go-spew/spew" "github.com/jinzhu/gorm/dialects/postgres" "inet.af/netaddr" "tailscale.com/tailcfg" @@ -73,7 +72,7 @@ func (m Machine) toNode() (*tailcfg.Node, error) { addrs = append(addrs, ip) // missing the ipv6 ? allowedIPs := []netaddr.IPPrefix{} - allowedIPs = append(allowedIPs, ip) + allowedIPs = append(allowedIPs, ip) // we append the node own IP, as it is required by the clients routesStr := []string{} if len(m.EnabledRoutes.RawMessage) != 0 { @@ -147,9 +146,6 @@ func (m Machine) toNode() (*tailcfg.Node, error) { KeepAlive: true, MachineAuthorized: m.Registered, } - - spew.Dump(n) - // n.Key.MarshalText() return &n, nil }