[PR #107] [MERGED] Remove trace lines about NO_COLOR. #1262

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

📋 Pull Request Information

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

Base: mainHead: no_color_trace


📝 Commits (1)

  • 203e6bc Remove trace lines about NO_COLOR.

📊 Changes

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

View changed files

📝 cmd/headscale/headscale.go (+0 -2)

📄 Description

Currently there is a warning for every command run when NO_COLOR is set. For example:

$ headscale nodes 
{"level":"trace","time":"2021-09-12T07:31:48-06:00","message":"NO_COLOR is set, disabling colors"}
Manage the nodes of Headscale

Usage:
  headscale nodes [command]

Available Commands:
  delete      Delete a node
  list        List the nodes in a given namespace
  register    Registers a machine to your network
  share       Shares a node from the current namespace to the specified one

Flags:
  -h, --help               help for nodes
  -n, --namespace string   Namespace

Global Flags:
  -o, --output string   Output format. Empty for human-readable, 'json' or 'json-line'

Use "headscale nodes [command] --help" for more information about a command.
$

This disables that.


🔄 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/107 **Author:** [@qbit](https://github.com/qbit) **Created:** 9/12/2021 **Status:** ✅ Merged **Merged:** 9/13/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `no_color_trace` --- ### 📝 Commits (1) - [`203e6bc`](https://github.com/juanfont/headscale/commit/203e6bc6b2ef60fdc41e243fb5fd2608cc18024f) Remove trace lines about NO_COLOR. ### 📊 Changes **1 file changed** (+0 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/headscale.go` (+0 -2) </details> ### 📄 Description Currently there is a warning for every command run when NO_COLOR is set. For example: ``` $ headscale nodes {"level":"trace","time":"2021-09-12T07:31:48-06:00","message":"NO_COLOR is set, disabling colors"} Manage the nodes of Headscale Usage: headscale nodes [command] Available Commands: delete Delete a node list List the nodes in a given namespace register Registers a machine to your network share Shares a node from the current namespace to the specified one Flags: -h, --help help for nodes -n, --namespace string Namespace Global Flags: -o, --output string Output format. Empty for human-readable, 'json' or 'json-line' Use "headscale nodes [command] --help" for more information about a command. $ ``` This disables that. --- <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:29 +01:00
adam closed this issue 2025-12-29 02:29:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1262