fixup! client/local,ipn/localapi: add /localapi/v0/routecheck endpoint

Finish splitting off Client.RouteCheckProbe from Client.RouteCheck.

Signed-off-by: Simon Law <sfllaw@tailscale.com>
This commit is contained in:
Simon Law
2026-05-28 14:30:17 -07:00
parent 23ffe88340
commit 47e86ff762

View File

@@ -22,7 +22,7 @@ func (lc *Client) RouteCheckProbe(ctx context.Context) (*routecheck.Report, erro
}
// RouteCheck requests the report compiled by the latest routecheck probe.
func (lc *Client) RouteCheck(ctx context.Context, force bool) (*routecheck.Report, error) {
func (lc *Client) RouteCheck(ctx context.Context) (*routecheck.Report, error) {
body, err := lc.send(ctx, "POST", "/localapi/v0/routecheck", 200, nil)
if err != nil {
return nil, fmt.Errorf("error %w: %s", err, body)