Fix formatting of if statement in matchers.go

Signed-off-by: Rasheed Mudasiru <rasheedrtm1@gmail.com>
This commit is contained in:
Rasheed Mudasiru 2026-06-14 18:27:15 +01:00 committed by GitHub
parent 3fa23cc05a
commit 976d48da5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,9 +343,9 @@ outer:
host = repl.ReplaceAll(host, "")
if strings.Contains(host, "*") {
if host == "*" {
return true, nil
}
if host == "*" {
return true, nil
}
patternParts := strings.Split(host, ".")
incomingParts := strings.Split(reqHost, ".")
if len(patternParts) != len(incomingParts) {