diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-05-13 03:50:40 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-05-13 03:50:40 +0300 |
commit | b284c7ff42f89b3cc9ca8c2aacde9a15408233ec (patch) | |
tree | f60b49bc16c1ec575faea89fa071c6257c1915f2 /app.go | |
parent | d390505f5c4650992bc3f715ecf5af8e2397b6ca (diff) |
Remove HasLookupPath and address feedback
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ func (a *theApp) tryAuxiliaryHandlers(w http.ResponseWriter, r *http.Request, ht return true } - if err := domain.HasLookupPath(r); err != nil { + if _, err := domain.GetLookupPath(r); err != nil { if errors.Is(err, gitlab.ErrDiskDisabled) { errortracking.Capture(err) httperrors.Serve500(w) |