Skip to content

Commit 5455592

Browse files
committed
chore: fix build, update usages to use new NewClient naming
1 parent 3575d42 commit 5455592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clientconn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func NewClient(target string, opts ...DialOption) (conn *ClientConn, err error)
208208
// https://github.com/grpc/grpc/blob/master/doc/naming.md.
209209
// e.g. to use dns resolver, a "dns:///" prefix should be applied to the target.
210210
func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *ClientConn, err error) {
211-
cc, err := newClient(target, opts...)
211+
cc, err := NewClient(target, opts...)
212212
if err != nil {
213213
return nil, err
214214
}

0 commit comments

Comments
 (0)