Files
tailscale/cmd
Kabir SikandandClaude Opus 4.8 ff863b4219 cmd/tailscale/cli: warn that "serve status --json" is internal state
Users have been treating the output of "tailscale serve status --json"
as a supported declarative configuration format, when it is really
Tailscale's internal runtime representation of the serve config.

Print a warning to stderr (so it does not corrupt the JSON on stdout,
which is commonly piped to tools like jq) explaining this and pointing
users at the declarative "serve get-config" and "serve set-config"
commands instead.

Fixes tailscale/corp#39789

Change-Id: I8894f0d6f709819c401c8a7c7ba09fccbdb35b3b
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-09 21:34:20 +00:00
..