Skip to content

Commit

Permalink
Copy values to telemetry.autoscaling.aodh
Browse files Browse the repository at this point in the history
Aodh was missed in one of the recent PRs introducing the Core
structures.
  • Loading branch information
vyzigold committed Apr 16, 2024
1 parent 726e5cc commit 2d378b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/openstack/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func ReconcileTelemetry(ctx context.Context, instance *corev1beta1.OpenStackCont
op, err := controllerutil.CreateOrPatch(ctx, helper.GetClient(), telemetry, func() error {
instance.Spec.Telemetry.Template.TelemetrySpecBase.DeepCopyInto(&telemetry.Spec.TelemetrySpecBase)
instance.Spec.Telemetry.Template.Autoscaling.AutoscalingSpecBase.DeepCopyInto(&telemetry.Spec.Autoscaling.AutoscalingSpecBase)
instance.Spec.Telemetry.Template.Autoscaling.Aodh.DeepCopyInto(&telemetry.Spec.Autoscaling.Aodh.AodhCore)
instance.Spec.Telemetry.Template.Ceilometer.CeilometerSpecCore.DeepCopyInto(&telemetry.Spec.Ceilometer.CeilometerSpecCore)
instance.Spec.Telemetry.Template.Logging.DeepCopyInto(&telemetry.Spec.Logging)
instance.Spec.Telemetry.Template.MetricStorage.DeepCopyInto(&telemetry.Spec.MetricStorage)
Expand Down

0 comments on commit 2d378b4

Please sign in to comment.