Skip to content

Commit

Permalink
chore(lifecycle-operator): renamed TracerFactory to tracerFactory wor…
Browse files Browse the repository at this point in the history
…kloadversion (#2428)
  • Loading branch information
geoffrey1330 authored Nov 7, 2023
1 parent a060859 commit 8c10e38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ var _ = BeforeSuite(func() {
var readyToStart chan struct{}
ctx, k8sManager, tracer, spanRecorder, k8sClient, readyToStart = common.InitSuite()

TracerFactory := &common.TracerFactory{Tracer: tracer}
tracerFactory := &common.TracerFactory{Tracer: tracer}
EvaluationHandler := evaluation.NewEvaluationHandler(
k8sManager.GetClient(),
controllercommon.NewK8sSender(k8sManager.GetEventRecorderFor("test-workloadversion-controller")),
GinkgoLogr,
TracerFactory.GetTracer(traceComponentName),
tracerFactory.GetTracer(traceComponentName),
k8sManager.GetScheme(),
&telemetry.SpanHandler{})

Expand All @@ -63,7 +63,7 @@ var _ = BeforeSuite(func() {
Log: GinkgoLogr,
Meters: common.InitKeptnMeters(),
SpanHandler: &telemetry.SpanHandler{},
TracerFactory: &common.TracerFactory{Tracer: tracer},
TracerFactory: tracerFactory,
EvaluationHandler: EvaluationHandler,
}
Eventually(controller.SetupWithManager(k8sManager)).WithTimeout(30 * time.Second).WithPolling(time.Second).Should(Succeed())
Expand Down

0 comments on commit 8c10e38

Please sign in to comment.