capver: regenerate for tailscale v1.96
go generate ./hscontrol/capver/... Adds v1.96 (capVer 133) to tailscaleToCapVer and capVerToTailscaleVer, rolls the 10-version support window forward so MinSupportedCapabilityVersion is now 109 (v1.78), and refreshes the test fixture accordingly.
This commit is contained in:
parent
380f531342
commit
442fcdbd33
2 changed files with 7 additions and 5 deletions
|
|
@ -9,10 +9,9 @@ var tailscaleLatestMajorMinorTests = []struct {
|
|||
stripV bool
|
||||
expected []string
|
||||
}{
|
||||
{3, false, []string{"v1.90", "v1.92", "v1.94"}},
|
||||
{2, true, []string{"1.92", "1.94"}},
|
||||
{3, false, []string{"v1.92", "v1.94", "v1.96"}},
|
||||
{2, true, []string{"1.94", "1.96"}},
|
||||
{10, true, []string{
|
||||
"1.76",
|
||||
"1.78",
|
||||
"1.80",
|
||||
"1.82",
|
||||
|
|
@ -22,6 +21,7 @@ var tailscaleLatestMajorMinorTests = []struct {
|
|||
"1.90",
|
||||
"1.92",
|
||||
"1.94",
|
||||
"1.96",
|
||||
}},
|
||||
{0, false, nil},
|
||||
}
|
||||
|
|
@ -30,7 +30,7 @@ var capVerMinimumTailscaleVersionTests = []struct {
|
|||
input tailcfg.CapabilityVersion
|
||||
expected string
|
||||
}{
|
||||
{106, "v1.74"},
|
||||
{109, "v1.78"},
|
||||
{32, "v1.24"},
|
||||
{41, "v1.30"},
|
||||
{46, "v1.32"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue