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 <[email protected]>
This commit is contained in:
Brad Fitzpatrick authored and Brad Fitzpatrick committed 2023-07-08 19:58:23 -07:00
1 parent 7b1c3dfd28
commit ffaa6be8a4
1 file changed
+1 -1
+1 -1
View File
@@ -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.