Use ok naming convention for map presence check
This commit is contained in:
parent
84da3c3d8c
commit
b57d7f77e1
@ -179,7 +179,7 @@ func (l *Logger) PrintReq(username, upstream string, req *http.Request, url url.
|
||||
return
|
||||
}
|
||||
|
||||
if _, excludedPath := l.excludePaths[url.Path]; excludedPath {
|
||||
if _, ok := l.excludePaths[url.Path]; ok {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user