control/controlclient: remove unused StartLogout

Updates #cleanup

Co-authored-by: Maisem Ali <maisem@tailscale.com>
Change-Id: I9d052fdbee787f1e8c872124e4bee61c7f04d142
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-08-30 18:33:58 -07:00
committed by Brad Fitzpatrick
parent ecc1d6907b
commit 04e1ce0034
7 changed files with 18 additions and 54 deletions

View File

@@ -152,7 +152,7 @@ func WhileTestRunningLogger(t testing.TB) logger.Logf {
mu sync.RWMutex
done bool
)
tlogf := logger.TestLogger(t)
logger := func(format string, args ...any) {
t.Helper()
@@ -162,7 +162,7 @@ func WhileTestRunningLogger(t testing.TB) logger.Logf {
if done {
return
}
t.Logf(format, args...)
tlogf(format, args...)
}
// t.Cleanup is run before the test is marked as done, so by acquiring