From 74e33b9c508566b188eeadf18087de6f14c96e95 Mon Sep 17 00:00:00 2001 From: Claire Wang Date: Thu, 7 Mar 2024 14:17:40 -0500 Subject: [PATCH] tailcfg: bump CapabilityVersion (#11368) bump version for adding NodeAttrSuggestExitNode remove extra s from NodeAttrSuggestExitNode Updates tailscale/corp#17516 Signed-off-by: Claire Wang --- tailcfg/tailcfg.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 49c4132c3585e..aeb41ce7e918c 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -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.