Skip to content

Commit

Permalink
fix: Publish service finds endpoint error for user's service (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
intyouss authored Sep 21, 2023
1 parent 6c39e4f commit ec975c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/publish/service/internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewUserClient(r registry.Discovery, logger log.Logger) userv1.UserServiceCl
logs := log.NewHelper(log.With(logger, "module", "server/user"))
conn, err := grpc.DialInsecure(
context.Background(),
grpc.WithEndpoint("discovery:///user"),
grpc.WithEndpoint("discovery:///atreus.user.service"),
grpc.WithDiscovery(r),
grpc.WithMiddleware(
recovery.Recovery(),
Expand Down

0 comments on commit ec975c1

Please sign in to comment.