lint and leftover
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
39443184d6
commit
233dffc186
34 changed files with 1429 additions and 506 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue