Skip to content

Commit

Permalink
Remove trace lines about NO_COLOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
qbit committed Sep 12, 2021
1 parent e27753e commit 203e6bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/headscale/headscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ func main() {
colors = true
default:
// no color, return text as is.
log.Trace().Msg("Colors are not supported, disabling")
colors = false
}

// Adhere to no-color.org manifesto of allowing users to
// turn off color in cli/services
if _, noColorIsSet := os.LookupEnv("NO_COLOR"); noColorIsSet {
log.Trace().Msg("NO_COLOR is set, disabling colors")
colors = false
}

Expand Down

0 comments on commit 203e6bc

Please sign in to comment.