client: fix doc typo

This commit is contained in:
大可
2021-04-13 16:33:24 +08:00
committed by GitHub
parent 7f97dfd45a
commit d7e971e8d8

View File

@@ -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("etc://foo", grpc.WithResolvers(etcdResolver))
// return grpc.Dial("etcd://foo", grpc.WithResolvers(etcdResolver))
// }
//
// Optionally, force delete an endpoint: