Comment typos fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package resource
|
||||
|
||||
type (
|
||||
// A simple wrapper struct for related things
|
||||
// A simple wrapper struct for related resources
|
||||
composeRecordShaper struct{}
|
||||
)
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ func (se *storeEncoder) Prepare(ctx context.Context, ee ...*envoy.ResourceState)
|
||||
|
||||
for _, e := range ee {
|
||||
switch res := e.Res.(type) {
|
||||
// Compose things
|
||||
// Compose resources
|
||||
case *resource.ComposeNamespace:
|
||||
err = f(NewComposeNamespaceState(res, se.cfg), e)
|
||||
case *resource.ComposeModule:
|
||||
@@ -107,7 +107,7 @@ func (se *storeEncoder) Prepare(ctx context.Context, ee ...*envoy.ResourceState)
|
||||
case *resource.ComposePage:
|
||||
err = f(NewComposePageState(res, se.cfg), e)
|
||||
|
||||
// System things
|
||||
// System resources
|
||||
case *resource.User:
|
||||
err = f(NewUserState(res, se.cfg), e)
|
||||
case *resource.Role:
|
||||
|
||||
@@ -252,7 +252,7 @@ func authSettingsAutoDiscovery(ctx context.Context, log *zap.Logger, svc setting
|
||||
|
||||
// provision environmental variable name
|
||||
// we're using full variable name here so developers
|
||||
// can find where things are comming from
|
||||
// can find where things are coming from
|
||||
env string
|
||||
|
||||
// default value
|
||||
|
||||
Reference in New Issue
Block a user