File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ type Consumer struct {
3636func newConsumer (ctx context.Context , tracerProvider trace.TracerProvider ,
3737 logger log.Factory ) * Consumer {
3838 // create a routesapi baseline watched instance
39+ // TODO: remove this in case we're not running with Signadot
3940 routing , err := watched .BaselineWatchedFromEnv ()
4041 if err != nil {
4142 panic (err )
Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ type ConfigOptions struct {
6767
6868// NewServer creates a new frontend.Server
6969func NewServer (options ConfigOptions , logger log.Factory ) * Server {
70- // get a tracer provider for the frontend
70+ // get tracer provider for the frontend
7171 tracerProvider := tracing .InitOTEL ("frontend" , config .GetOtelExporterType (),
7272 config .GetMetricsFactory (), logger )
7373
74- // get a location client
74+ // get location client
7575 locationClient := location .NewClient (tracerProvider , logger , options .LocationHostPort )
7676
77- // get a notification handler
77+ // get notification handler
7878 notificationHandler := notifications .NewNotificationHandler (tracerProvider , logger )
7979
8080 // get a dispatcher
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ type Server struct {
4343 database * database
4444}
4545
46- // NewServer creates a new location.Server
46+ // NewServer creates new location.Server
4747func NewServer (hostPort string , logger log.Factory ) * Server {
48- // get a tracer provider for the location
48+ // get tracer provider for the location
4949 tracerProvider := tracing .InitOTEL ("location" , config .GetOtelExporterType (),
5050 config .GetMetricsFactory (), logger )
5151
You can’t perform that action at this time.
0 commit comments