Log available update as warning (#1877)
This commit is contained in:
parent
2ce23df45a
commit
d4af0c386c
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue