diff options
| author | Alex Chan <alexc@tailscale.com> | 2025-10-20 11:23:35 +0100 |
|---|---|---|
| committer | Alex Chan <alex@alexwlchan.net> | 2025-10-20 12:15:57 +0100 |
| commit | c961d580912d25f48f1b916b9b2bc08f394b994d (patch) | |
| tree | c0bbe2c14b8e05002152a78c28ebf70c0c084ab8 /control/controlhttp/controlhttpserver | |
| parent | 6a73c0bdf5539971840e19c75113d8414f22a9c8 (diff) | |
| download | tailscale-c961d580912d25f48f1b916b9b2bc08f394b994d.tar.xz tailscale-c961d580912d25f48f1b916b9b2bc08f394b994d.zip | |
cmd/tailscale: improve the error message for `lock log` with no lock
Previously, running `tailscale lock log` in a tailnet without Tailnet
Lock enabled would return a potentially confusing error:
$ tailscale lock log
2025/10/20 11:07:09 failed to connect to local Tailscale service; is Tailscale running?
It would return this error even if Tailscale was running.
This patch fixes the error to be:
$ tailscale lock log
Tailnet Lock is not enabled
Fixes #17586
Signed-off-by: Alex Chan <alexc@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
