Skip to content

Commit

Permalink
Merge pull request #12918 from iflamed/fix-doc-demo-bug
Browse files Browse the repository at this point in the history
fix doc demo bug
  • Loading branch information
hexfusion committed May 5, 2021
2 parents 7296a07 + a8a3eea commit 8af8f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/v3/naming/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
// func etcdDial(c *clientv3.Client, service string) (*grpc.ClientConn, error) {
// etcdResolver, err := resolver.NewBuilder(c);
// if err { return nil, err }
// return grpc.Dial("etcd:///foo", grpc.WithResolvers(etcdResolver))
// return grpc.Dial("etcd:///" + service, grpc.WithResolvers(etcdResolver))
// }
//
// Optionally, force delete an endpoint:
Expand Down

0 comments on commit 8af8f6a

Please sign in to comment.