Use ok naming convention for map presence check

This commit is contained in:
Karl Skewes
2019-07-16 10:06:29 +12:00
parent 84da3c3d8c
commit b57d7f77e1
+1 -1
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
}