diff options
author | Yolan Romailler <[email protected]> | 2024-01-25 16:24:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-25 15:24:58 +0000 |
commit | 2fe69a828f9fcacc0160a576839d4b67c5730031 (patch) | |
tree | fa8b74d9a53d9eab3011f50d710481647b1f0fdd /logging.go | |
parent | c369df5c375685f35f5b9f47f5790124c28258c9 (diff) | |
download | caddy-2fe69a828f9fcacc0160a576839d4b67c5730031.tar.gz caddy-2fe69a828f9fcacc0160a576839d4b67c5730031.zip |
chore: enabling a few more linters (#5961)
Co-authored-by: Francis Lavoie <[email protected]>
Diffstat (limited to 'logging.go')
-rw-r--r-- | logging.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logging.go b/logging.go index fe229505d..e1ee01509 100644 --- a/logging.go +++ b/logging.go @@ -517,7 +517,7 @@ func (cl *CustomLog) loggerAllowed(name string, isModule bool) bool { // append a dot so that partial names don't match // (i.e. we don't want "foo.b" to match "foo.bar"); we // will also have to append a dot when we do HasPrefix - // below to compensate for when when namespaces are equal + // below to compensate for when namespaces are equal if name != "" && name != "*" && name != "." { name += "." } |