diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2024-04-25 13:24:49 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2024-04-25 13:46:22 -0700 |
| commit | ebc552d2e0650889eb349237b5d17f5ed657a6dd (patch) | |
| tree | 9a90a61daea90fe6af40d0cfc91736b0d0afd667 /control/controlknobs/controlknobs.go | |
| parent | d5fc52a0f551b2291cca7ecdf2bfd2b5e4b26801 (diff) | |
| download | tailscale-ebc552d2e0650889eb349237b5d17f5ed657a6dd.tar.xz tailscale-ebc552d2e0650889eb349237b5d17f5ed657a6dd.zip | |
health: add Tracker type, in prep for removing global variables
This moves most of the health package global variables to a new
`health.Tracker` type.
But then rather than plumbing the Tracker in tsd.System everywhere,
this only goes halfway and makes one new global Tracker
(`health.Global`) that all the existing callers now use.
A future change will eliminate that global.
Updates #11874
Updates #4136
Change-Id: I6ee27e0b2e35f68cb38fecdb3b2dc4c3f2e09d68
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
