Use ok naming convention for map presence check

This commit is contained in:
Karl Skewes 2019-07-01 13:13:51 +12:00
parent 84da3c3d8c
commit b57d7f77e1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}