tailcfg: bump CapabilityVersion (#11368)

bump version for adding NodeAttrSuggestExitNode
remove extra s from NodeAttrSuggestExitNode
Updates tailscale/corp#17516

Signed-off-by: Claire Wang <claire@tailscale.com>
This commit is contained in:
Claire Wang 2024-03-07 14:17:40 -05:00 committed by GitHub
parent c662bd9fe7
commit 74e33b9c50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -128,7 +128,8 @@ type CapabilityVersion int
// - 85: 2024-01-05: Client understands MaxKeyDuration
// - 86: 2024-01-23: Client understands NodeAttrProbeUDPLifetime
// - 87: 2024-02-11: UserProfile.Groups removed (added in 66)
const CurrentCapabilityVersion CapabilityVersion = 87
// - 88: 2024-03-05: Client understands NodeAttrSuggestExitNode
const CurrentCapabilityVersion CapabilityVersion = 88
type StableID string
@ -2215,9 +2216,9 @@ const (
// NodeAttrsTailFSAccess enables accessing shares via TailFS.
NodeAttrsTailFSAccess NodeCapability = "tailfs:access"
// NodeAttrsSuggestExitNode is applied to each exit node which the control plane has determined
// NodeAttrSuggestExitNode is applied to each exit node which the control plane has determined
// is a recommended exit node.
NodeAttrsSuggestExitNode NodeCapability = "suggest-exit-node"
NodeAttrSuggestExitNode NodeCapability = "suggest-exit-node"
)
// SetDNSRequest is a request to add a DNS record.