balancer: provide parsed target through BuildOptions (#2803)

This commit is contained in:
lyuxuan
2019-05-09 13:27:41 -07:00
committed by GitHub
parent 39ed87fce2
commit 4748a040c8
5 changed files with 25 additions and 19 deletions

View File

@ -293,6 +293,7 @@ func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *
CredsBundle: cc.dopts.copts.CredsBundle,
Dialer: cc.dopts.copts.Dialer,
ChannelzParentID: cc.channelzID,
Target: cc.parsedTarget,
}
// Build the resolver.