Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis committed Jun 6, 2024
1 parent ba409c0 commit 6647b90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/addon/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const (
KeyPlatformLogsCollection = "platformLogsCollection"

// User Workloads Observability Keys
KeyUserWorkloadLogsCollection = "userWorkloadLogsCollection"
KeyUserWorkloadTracesCollection = "userWorkloadTracesCollection"
KeyUserWorkloadTracesInstrumentation = "userWorkloadTracesInstrumentation"
KeyUserWorkloadLogsCollection = "userWorkloadLogsCollection"
KeyUserWorkloadTracesCollection = "userWorkloadTracesCollection"
KeyUserWorkloadInstrumentation = "userWorkloadInstrumentation"
)

type CollectionKind string
Expand Down Expand Up @@ -90,7 +90,7 @@ func BuildOptions(addOnDeployment *addonapiv1alpha1.AddOnDeploymentConfig) (Opti
opts.UserWorkloads.Enabled = true
opts.UserWorkloads.Traces.CollectionEnabled = true
}
case KeyUserWorkloadTracesInstrumentation:
case KeyUserWorkloadInstrumentation:
if keyvalue.Value == string(InstrumentationV1alpha1) {
opts.UserWorkloads.Enabled = true
opts.UserWorkloads.Traces.InstrumentationEnabled = true
Expand Down

0 comments on commit 6647b90

Please sign in to comment.