mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
Change auth namespace log level (#1490)
Co-authored-by: Ben Toogood <ben@micro.mu>
This commit is contained in:
@@ -175,7 +175,7 @@ func AuthHandler(fn func() auth.Auth) server.HandlerWrapper {
|
||||
// Get the namespace for the request
|
||||
namespace, ok := metadata.Get(ctx, auth.NamespaceKey)
|
||||
if !ok {
|
||||
logger.Errorf("Missing request namespace")
|
||||
logger.Debugf("Missing request namespace")
|
||||
namespace = auth.DefaultNamespace
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user