Skip to content

Commit

Permalink
Remove comments (previously Resolver)
Browse files Browse the repository at this point in the history
  • Loading branch information
karimalzalek committed Jun 27, 2024
1 parent 80f362b commit d3394e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/configuration/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion common/configuration/asm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion common/configuration/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d3394e2

Please sign in to comment.