Skip to content

Commit d2f9e0a

Browse files
committed
cleanup: drop the usage of pkg/tracing
Signed-off-by: Calum Murray <cmurray@redhat.com>
1 parent b2f4633 commit d2f9e0a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pkg/channel/jetstream/dispatcher/controller.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
"knative.dev/pkg/configmap"
3434
"knative.dev/pkg/controller"
3535
"knative.dev/pkg/logging"
36-
"knative.dev/pkg/tracing"
3736

3837
"knative.dev/eventing-natss/pkg/client/injection/reconciler/messaging/v1alpha1/natsjetstreamchannel"
3938
"knative.dev/eventing-natss/pkg/common/constants"
@@ -56,11 +55,6 @@ func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
5655
logger.Panicf("unable to process required environment variables: %v", err)
5756
}
5857

59-
_, err := tracing.SetupPublishingWithDynamicConfig(logger, cmw, "jetstream-ch-dispatcher", "config-tracing")
60-
if err != nil {
61-
logger.Fatalw("failed to setup tracing", zap.Error(err))
62-
}
63-
6458
fsLoader, err := fsloader.Get(ctx)
6559
if err != nil {
6660
logger.Fatalw("failed to get ConfigmapLoader from context... terminating", zap.Error(err))

0 commit comments

Comments
 (0)