tailcfg, control/controlclient: make MapResponse.CollectServices an opt.Bool

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-01-12 07:54:34 -08:00
committed by Brad Fitzpatrick
parent a746ff5de7
commit 9d73f84a71
2 changed files with 9 additions and 2 deletions

View File

@ -667,7 +667,9 @@ type MapResponse struct {
// CollectServices reports whether this node's Tailnet has
// requested that info about services be included in HostInfo.
CollectServices bool `json:",omitempty"`
// If unset, the most recent non-empty MapResponse value in
// the HTTP response stream is used.
CollectServices opt.Bool `json:",omitempty"`
// PacketFilter are the firewall rules.
//