[PR #155] [MERGED] Add JSON output when deleting node #1288

Closed
opened 2025-12-29 02:29:34 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/155
Author: @juanfont
Created: 10/12/2021
Status: Merged
Merged: 10/13/2021
Merged by: @juanfont

Base: mainHead: fix-json-delete-node


📝 Commits (1)

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+9 -0)

📄 Description

-o json or -o json-line was not supported when deleting nodes from a namespace.

This simple PR adds support for it. Fixes #152.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/155 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 10/12/2021 **Status:** ✅ Merged **Merged:** 10/13/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `fix-json-delete-node` --- ### 📝 Commits (1) - [`6924b7b`](https://github.com/juanfont/headscale/commit/6924b7bf4c4b6b24d697d38a0f35ed244979c12e) Output json when deleting node (fixes #152) ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+9 -0) </details> ### 📄 Description `-o json` or `-o json-line` was not supported when deleting nodes from a namespace. This simple PR adds support for it. Fixes #152. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:34 +01:00
adam closed this issue 2025-12-29 02:29:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1288