temp fix for location service to show in app

This commit is contained in:
Dominic Wong
2021-10-19 17:42:17 +01:00
parent cc0b043565
commit d6df706c96

View File

@@ -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()