Skip to content

Commit

Permalink
fix: fix the grpc client connection
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 committed May 16, 2024
1 parent f42efd9 commit 9cbfa16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdkclient/query/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NewClient(logger *log.Logger, grpcEndpoint string, queryTimeout time.Durati
}

func (c *Client) dialGrpcConn() (err error) {
c.GrpcConn, err = grpc.NewClient(
c.GrpcConn, err = grpc.Dial(
c.grpcEndpoint,
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithContextDialer(dialerFunc),
Expand Down

0 comments on commit 9cbfa16

Please sign in to comment.