Merge pull request #1477 from micro/fix

Hotfix
This commit is contained in:
ben-toogood 2020-04-03 13:37:50 +01:00 committed by GitHub
commit 41b746e435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,7 @@ func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
namespace, err := namespaceFromRequest(req)
if err != nil {
logger.Error(err)
// w.WriteHeader(http.StatusInternalServerError)
namespace = auth.DefaultNamespace
return
}
// Set the namespace in the header