controlclient,tailcfg,types: expose MaxKeyDuration via localapi (#10401)

Updates tailscale/corp#16016

Signed-off-by: James Sanderson <jsanderson@tailscale.com>
This commit is contained in:
James 'zofrex' Sanderson
2024-01-05 13:06:12 +01:00
committed by GitHub
parent d9aeb30281
commit 124dc10261
6 changed files with 18 additions and 4 deletions

View File

@@ -177,5 +177,6 @@ func mapResponseContainsNonPatchFields(res *tailcfg.MapResponse) bool {
// function is called, so it should never be set anyway. But for
// completedness, and for tests, check it too:
res.PeersChanged != nil ||
res.DefaultAutoUpdate != ""
res.DefaultAutoUpdate != "" ||
res.MaxKeyDuration > 0
}