Skip to content

Commit

Permalink
Update api/v1alpha1/opentelemetrycollector_webhook.go
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
  • Loading branch information
Rahul Varma and Aneurysm9 authored Aug 11, 2021
1 parent 3d37148 commit a496825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/opentelemetrycollector_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (r *OpenTelemetryCollector) validateCRDSpec() error {
if r.Spec.TargetAllocator.Enabled {
_, err := ta.ConfigToPromConfig(r.Spec.Config)
if err != nil {
return fmt.Errorf("the OpenTelemetry Spec configuration is incorrect, %s", err)
return fmt.Errorf("the OpenTelemetry Spec Prometheus configuration is incorrect, %s", err)
}
}

Expand Down

0 comments on commit a496825

Please sign in to comment.