types/opt: de-weird the API a bit with new True and False consts
Updates #cleanup Change-Id: I15d8d840877d43e2b884d42354b4eb156094df7d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
e766adf71f
commit
afe909664b
@@ -1101,7 +1101,7 @@ func (s *Server) MapResponse(req *tailcfg.MapRequest) (res *tailcfg.MapResponse,
|
||||
Node: node,
|
||||
DERPMap: s.DERPMap,
|
||||
Domain: domain,
|
||||
CollectServices: cmp.Or(s.CollectServices, "true"),
|
||||
CollectServices: cmp.Or(s.CollectServices, opt.True),
|
||||
PacketFilter: packetFilterWithIngress(s.PeerRelayGrants),
|
||||
DNSConfig: dns,
|
||||
ControlTime: &t,
|
||||
|
||||
Reference in New Issue
Block a user