mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 14:10:12 +01:00
fix: Set log level to debug for message about API token (#757)
This commit is contained in:
parent
fb9469e58e
commit
4689853493
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ func (api *API) RequireToken(fn http.HandlerFunc) http.HandlerFunc {
|
||||||
log.Debugf("Expected token to be \"%s\"", api.Token)
|
log.Debugf("Expected token to be \"%s\"", api.Token)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Println("Valid token found.")
|
log.Debug("Valid token found.")
|
||||||
fn(w, r)
|
fn(w, r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue