tailcfg: add json omitempty to DNSConfig.ExitNodeFilteredSet

We were storing a lot of "ExitNodeFilteredSet":null in the database.

Updates tailscale/corp#1818 (found in the process)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/8335/head
Brad Fitzpatrick 1 year ago committed by Brad Fitzpatrick
parent 7b1c3dfd28
commit ffaa6be8a4

@ -1282,7 +1282,7 @@ type DNSConfig struct {
// match.
//
// Matches are case insensitive.
ExitNodeFilteredSet []string
ExitNodeFilteredSet []string `json:",omitempty"`
}
// DNSRecord is an extra DNS record to add to MagicDNS.

Loading…
Cancel
Save