aboutsummaryrefslogtreecommitdiffhomepage
path: root/logging.go
diff options
context:
space:
mode:
authorYolan Romailler <[email protected]>2024-01-25 16:24:58 +0100
committerGitHub <[email protected]>2024-01-25 15:24:58 +0000
commit2fe69a828f9fcacc0160a576839d4b67c5730031 (patch)
treefa8b74d9a53d9eab3011f50d710481647b1f0fdd /logging.go
parentc369df5c375685f35f5b9f47f5790124c28258c9 (diff)
downloadcaddy-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.go2
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 += "."
}