Skip to content

Commit

Permalink
Fix linting issue on grpc.Dial deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Jan 22, 2025
1 parent 92b3ea4 commit 66ebc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/remote/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func New(provider *sqlite.Store, logger *zerolog.Logger, options ...Option) (*St
return nil, fmt.Errorf("rpc host must be provided")
}

conn, err := grpc.Dial(
conn, err := grpc.NewClient(
store.host,
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024*1024*1024)),
Expand Down

0 comments on commit 66ebc51

Please sign in to comment.