Skip to content

Commit

Permalink
chore: fix build, update usages to use new NewClient naming
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce committed Feb 28, 2024
1 parent 3575d42 commit 5455592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientconn.go
Expand Up @@ -208,7 +208,7 @@ func NewClient(target string, opts ...DialOption) (conn *ClientConn, err error)
// https://github.com/grpc/grpc/blob/master/doc/naming.md.
// e.g. to use dns resolver, a "dns:///" prefix should be applied to the target.
func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *ClientConn, err error) {
cc, err := newClient(target, opts...)
cc, err := NewClient(target, opts...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 5455592

Please sign in to comment.