From d3394e243cbb7b52398828bf1752b0e59b07a979 Mon Sep 17 00:00:00 2001 From: "Karim.alzalek" Date: Thu, 27 Jun 2024 12:43:31 +0400 Subject: [PATCH] Remove comments (previously Resolver) --- common/configuration/api.go | 2 +- common/configuration/asm.go | 2 +- common/configuration/manager.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/configuration/api.go b/common/configuration/api.go index 4b3cb76719..2a16110bb0 100644 --- a/common/configuration/api.go +++ b/common/configuration/api.go @@ -69,7 +69,7 @@ func (k *Ref) UnmarshalText(text []byte) error { return nil } -// A Router (previously named Resolver) resolves configuration names to keys that are then used to load +// A Router resolves configuration names to keys that are then used to load // values from a Provider. // // This indirection allows for the storage of configuration values to be diff --git a/common/configuration/asm.go b/common/configuration/asm.go index b2b4f19f68..02456c1128 100644 --- a/common/configuration/asm.go +++ b/common/configuration/asm.go @@ -24,7 +24,7 @@ type asmClient interface { delete(ctx context.Context, ref Ref) error } -// ASM implements Router (previously named Resolver) and Provider for AWS Secrets Manager (ASM). +// ASM implements Router and Provider for AWS Secrets Manager (ASM). // Only supports loading "string" secrets, not binary secrets. // // The router does a direct/proxy map from a Ref to a URL, module.name <-> asm://module.name and does not access ASM at all. diff --git a/common/configuration/manager.go b/common/configuration/manager.go index 1a57567fe1..60ca5414c7 100644 --- a/common/configuration/manager.go +++ b/common/configuration/manager.go @@ -26,7 +26,7 @@ type Configuration struct{} func (Configuration) String() string { return "configuration" } // Manager is a high-level configuration manager that abstracts the details of -// the Router (previously Resolver) and Provider interfaces. +// the Router and Provider interfaces. type Manager[R Role] struct { providers map[string]Provider[R] router Router[R]