Make log keys lowercase

This commit is contained in:
Kristoffer Dalby 2021-08-05 20:57:47 +01:00
parent cd2ca137c0
commit a8c8a358d0
No known key found for this signature in database
GPG key ID: 09F62DC067465735
4 changed files with 99 additions and 99 deletions

View file

@ -89,7 +89,7 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
derpMap, err := loadDerpMap(derpPath)
if err != nil {
log.Error().
Str("Path", derpPath).
Str("path", derpPath).
Err(err).
Msg("Could not load DERP servers map file")
}
@ -140,7 +140,7 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
err = h.LoadACLPolicy(aclPath)
if err != nil {
log.Error().
Str("Path", aclPath).
Str("path", aclPath).
Err(err).
Msg("Could not load the ACL policy")
}