Remove debugging

This commit is contained in:
Ben Toogood 2020-04-07 10:10:37 +01:00
parent a81d86ed08
commit 11e1e9120a

View File

@ -40,7 +40,6 @@ type authHandler struct {
func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
// Determine the namespace and set it in the header // Determine the namespace and set it in the header
namespace := h.namespaceFromRequest(req) namespace := h.namespaceFromRequest(req)
fmt.Printf("Namespace is %v\n", namespace)
req.Header.Set(auth.NamespaceKey, namespace) req.Header.Set(auth.NamespaceKey, namespace)
// Extract the token from the request // Extract the token from the request