tailscale/clientupdate
Brad Fitzpatrick d0c50c6072 clientupdate: cache CanAutoUpdate, avoid log spam when false
I noticed logs on one of my machines where it can't auto-update with
scary log spam about "failed to apply tailnet-wide default for
auto-updates".

This avoids trying to do the EditPrefs if we know it's just going to
fail anyway.

Updates #282

Change-Id: Ib7db3b122185faa70efe08b60ebd05a6094eed8c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-03-24 09:46:48 -07:00
..
distsign all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
testdata clientupdate: implement update for Unraid (#10344) 2023-11-28 13:28:30 -08:00
clientupdate_downloads.go clientupdate: don't link distsign on platforms that don't download 2024-10-10 06:32:50 -07:00
clientupdate_not_downloads.go clientupdate: don't link distsign on platforms that don't download 2024-10-10 06:32:50 -07:00
clientupdate_notwindows.go clientupdate, ipn/localapi: don't use google/uuid, thin iOS deps 2024-10-09 20:27:35 -07:00
clientupdate_test.go clientupdate: allow switching from unstable to stable tracks (#12477) 2024-06-17 10:23:27 -07:00
clientupdate_windows.go clientupdate, ipn/localapi: don't use google/uuid, thin iOS deps 2024-10-09 20:27:35 -07:00
clientupdate.go clientupdate: cache CanAutoUpdate, avoid log spam when false 2025-03-24 09:46:48 -07:00