Skip to content

Commit

Permalink
Address code review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis committed Jun 10, 2024
1 parent a2a30df commit f0b4815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Currently the addon supports configuration to send logs either to:
- CloudWatch: requires the auth configmap to be specified
- Loki: requires the auth configmap, the url configmap and optionally the inject ca configmap

### Traces Collection & Instrumentation
### Traces Collection

Currently MCOA supports deploying a single instance of `OpenTelemetryCollector`
templated with the stanza created in the hub cluster. The instance deployed in
Expand Down
2 changes: 1 addition & 1 deletion internal/addon/helm/values.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func GetValuesFunc(ctx context.Context, k8s client.Client) addonfactory.GetValue
}

if opts.Platform.Logs.CollectionEnabled || opts.UserWorkloads.Logs.CollectionEnabled {
loggingOpts, err := lhandlers.BuildOptions(ctx, k8s, mcAddon, opts.Platform.Logs, opts.Platform.Logs)
loggingOpts, err := lhandlers.BuildOptions(ctx, k8s, mcAddon, opts.Platform.Logs, opts.UserWorkloads.Logs)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit f0b4815

Please sign in to comment.