Change auth namespace log level (#1490)

Co-authored-by: Ben Toogood <ben@micro.mu>
This commit is contained in:
ben-toogood 2020-04-06 13:51:28 +01:00 committed by GitHub
parent c4442a7533
commit 9b546a7242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ func AuthHandler(fn func() auth.Auth) server.HandlerWrapper {
// Get the namespace for the request // Get the namespace for the request
namespace, ok := metadata.Get(ctx, auth.NamespaceKey) namespace, ok := metadata.Get(ctx, auth.NamespaceKey)
if !ok { if !ok {
logger.Errorf("Missing request namespace") logger.Debugf("Missing request namespace")
namespace = auth.DefaultNamespace namespace = auth.DefaultNamespace
} }