Skip to content

Commit

Permalink
tailcfg: bump CapabilityVersion (#11368)
Browse files Browse the repository at this point in the history
bump version for adding NodeAttrSuggestExitNode
remove extra s from NodeAttrSuggestExitNode
Updates tailscale/corp#17516

Signed-off-by: Claire Wang <claire@tailscale.com>
  • Loading branch information
clairew committed Mar 7, 2024
1 parent c662bd9 commit 74e33b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tailcfg/tailcfg.go
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 74e33b9

Please sign in to comment.