[#1052] object: Fix explanatory comments for context_enricher

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2025-03-12 18:28:12 +03:00
parent f029752e2e
commit ea5ccc052d

View file

@ -22,7 +22,8 @@ import (
"go.uber.org/zap"
)
// Service checks basic ACL rules.
// Service enriches a request context with values that are retrieved only once,
// allowing these values to be used in subsequent middlewares.
type Service struct {
*cfg
@ -55,7 +56,7 @@ type cfg struct {
next object.ServiceServer
}
// New is a constructor for object ACL checking service.
// New is a constructor for context enricher service.
func New(next object.ServiceServer,
nm netmap.Source,
irf InnerRingFetcher,