mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
temp fix for location service to show in app
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
|||||||
"github.com/micro/micro/v3/service"
|
"github.com/micro/micro/v3/service"
|
||||||
"github.com/micro/services/location/handler"
|
"github.com/micro/services/location/handler"
|
||||||
pb "github.com/micro/services/location/proto"
|
pb "github.com/micro/services/location/proto"
|
||||||
"github.com/micro/services/location/subscriber"
|
|
||||||
"github.com/micro/services/pkg/tracing"
|
"github.com/micro/services/pkg/tracing"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -17,7 +16,8 @@ func main() {
|
|||||||
|
|
||||||
pb.RegisterLocationHandler(location.Server(), new(handler.Location))
|
pb.RegisterLocationHandler(location.Server(), new(handler.Location))
|
||||||
|
|
||||||
service.Subscribe(subscriber.Topic, new(subscriber.Location))
|
// TODO reinstate me
|
||||||
|
//service.Subscribe(subscriber.Topic, new(subscriber.Location))
|
||||||
traceCloser := tracing.SetupOpentracing("location")
|
traceCloser := tracing.SetupOpentracing("location")
|
||||||
defer traceCloser.Close()
|
defer traceCloser.Close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user