mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-24 17:48:49 +02:00
lint and leftover
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Kristoffer Dalby
parent
39443184d6
commit
233dffc186
@@ -489,6 +489,7 @@ func derpConfig() DERPConfig {
|
||||
urlAddr, err := url.Parse(urlStr)
|
||||
if err != nil {
|
||||
log.Error().
|
||||
Caller().
|
||||
Str("url", urlStr).
|
||||
Err(err).
|
||||
Msg("Failed to parse url, ignoring...")
|
||||
@@ -561,6 +562,7 @@ func logConfig() LogConfig {
|
||||
logFormat = TextLogFormat
|
||||
default:
|
||||
log.Error().
|
||||
Caller().
|
||||
Str("func", "GetLogConfig").
|
||||
Msgf("Could not parse log format: %s. Valid choices are 'json' or 'text'", logFormatOpt)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user