Invalid json when deleting nodes with -o flag #47

Closed
opened 2025-12-29 01:21:07 +01:00 by adam · 2 comments
Owner

Originally created by @0xcd0e on GitHub (Oct 12, 2021).

When deleting a node while using the -o json parameter, the value returned is not valid json:

# headscale nodes -n testns delete 1 -o json-line
? Do you want to remove the node ts-client? Yes
Node deleted

Tested on v0.10.1

Originally created by @0xcd0e on GitHub (Oct 12, 2021). When deleting a node while using the -o json parameter, the value returned is not valid json: ``` # headscale nodes -n testns delete 1 -o json-line ? Do you want to remove the node ts-client? Yes Node deleted ``` Tested on v0.10.1
adam closed this issue 2025-12-29 01:21:09 +01:00
Author
Owner

@juanfont commented on GitHub (Oct 13, 2021):

Fixed! Will come in the next minor release

@juanfont commented on GitHub (Oct 13, 2021): Fixed! Will come in the next minor release
Author
Owner

@0xcd0e commented on GitHub (Oct 14, 2021):

Thank you for implementing this so fast :)

@0xcd0e commented on GitHub (Oct 14, 2021): Thank you for implementing this so fast :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#47