You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When automating client management with Headscale using CLI and --output=json the JSON output is 'broken' by the message starting with "An updated version of Headscale has been found" etc, I can't take the JSON output directly.
Is there a flag to disable this output?
While actually updating obviously fixes this I can't sit checking every 5 minutes for an update.
Environment
I'm running Headscale v0.23.0-alpha2 under Ubuntu 22.0.4, though Headscale does need updating.
To Reproduce
Run the command headscale users list --output=json
The text was updated successfully, but these errors were encountered:
headscale users list --output json works (note the missing =) so this is an inconsistency in argument parsing where the real argument parser handles it, but the crude check for machine output here
Bug description
When automating client management with Headscale using CLI and
--output=json
the JSON output is 'broken' by the message starting with "An updated version of Headscale has been found" etc, I can't take the JSON output directly.Is there a flag to disable this output?
While actually updating obviously fixes this I can't sit checking every 5 minutes for an update.
Environment
I'm running Headscale v0.23.0-alpha2 under Ubuntu 22.0.4, though Headscale does need updating.
To Reproduce
Run the command
headscale users list --output=json
The text was updated successfully, but these errors were encountered: