forked from TrueCloudLab/frostfs-node
[#1052] object: Fix explanatory comments for context_enricher
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
f029752e2e
commit
ea5ccc052d
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue