SIGN IN SIGN UP

cmd/cigocacher: make token optional for --stats (#20896)

In cases where cigocacher is using a proxy that handles the auth, it's
possible to fetch stats without knowing our own access token. Don't fail
early if the access token isn't passed. If there's no proxy, it will
fail with the error from the gocached server.

Updates tailscale/corp#45427

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
T
Tom Proctor committed
902f5c414a3e0324c934222048779062ae136ee5
Parent: 083e8dd
Committed by GitHub <noreply@github.com> on 8/17/2026, 1:23:17 PM