chore: enabling a few more linters (#5961)

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
Yolan Romailler 2024-01-25 16:24:58 +01:00 committed by GitHub
parent c369df5c37
commit 2fe69a828f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 77 additions and 28 deletions

View file

@ -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 += "."
}