Skip to content

Commit

Permalink
linter fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Aug 1, 2024
1 parent b481545 commit c1bb447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/remote/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type DB struct {
}

func New(rawURL string, ctx context.Context, log utils.SimpleLogger, opts ...grpc.DialOption) (*DB, error) {
grpcClient, err := grpc.Dial(rawURL, opts...)
grpcClient, err := grpc.NewClient(rawURL, opts...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c1bb447

Please sign in to comment.