control/controlclient: make Status.Persist a PersistView

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2022-11-10 19:43:59 +05:00
committed by Maisem Ali
parent 4d330bac14
commit f00a49667d
6 changed files with 25 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ type Status struct {
// use them. Please don't use these fields.
// TODO(apenwarr): Unexport or remove these.
State State
Persist *persist.Persist // locally persisted configuration
Persist *persist.PersistView // locally persisted configuration
}
// Equal reports whether s and s2 are equal.