git.iko.soy/typeable/oauth2-proxy
on master help sign in
Use ok naming convention for map presence check
commitb57d7f77e1d712231e48ca151b9244cf05f30bc4 authorKarl Skewes <karl.skewes@gmail.com> dateMon 1 Jul 2019, 13:13 (7 years ago) parent84da3c3
1 file changed+1−1
pkg/logger/logger.go+1−1
pkg/logger/logger.go+1−1
@@ -179,7 +179,7 @@ func (l *Logger) PrintReq(username, upstream string, req *http.Request, url url.
179179 return
180180 }
181181
182− if _, excludedPath := l.excludePaths[url.Path]; excludedPath {
182+ if _, ok := l.excludePaths[url.Path]; ok {
183183 return
184184 }
185185