Skip to content

Commit

Permalink
adjust code to SDK API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed May 2, 2024
1 parent 53218a2 commit 2552f1a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gateway/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ func NewGrpcGateway(network config.Network, opts ...grpc.DialOption) (*GrpcGatew
options = append(options, opts...)
gClient, err := grpcAccess.NewClient(
network.Host,
options...,
grpcAccess.WithGRPCDialOptions(
options...,
),
)

if err != nil || gClient == nil {
Expand Down Expand Up @@ -82,7 +84,9 @@ func NewSecureGrpcGateway(network config.Network, opts ...grpc.DialOption) (*Grp

gClient, err := grpcAccess.NewClient(
network.Host,
options...,
grpcAccess.WithGRPCDialOptions(
options...,
),
)

if err != nil || gClient == nil {
Expand Down

0 comments on commit 2552f1a

Please sign in to comment.