Skip to content

Commit

Permalink
Log available update as warning
Browse files Browse the repository at this point in the history
  • Loading branch information
casdr committed Apr 17, 2024
1 parent 2ce23df commit 60ed1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/headscale/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func initConfig() {
res, err := latest.Check(githubTag, Version)
if err == nil && res.Outdated {
//nolint
fmt.Printf(
log.Warn().Msgf(
"An updated version of Headscale has been found (%s vs. your current %s). Check it out https://github.com/juanfont/headscale/releases\n",
res.Current,
Version,
Expand Down

0 comments on commit 60ed1d6

Please sign in to comment.