Skip to content

Commit

Permalink
doc: fix document example error
Browse files Browse the repository at this point in the history
  • Loading branch information
mengjin-tes authored and hexfusion committed Mar 21, 2019
1 parent 122744c commit 41f7142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientv3/naming/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//
// func etcdDelete(c *clientv3, service, addr string) error {
// r := &etcdnaming.GRPCResolver{Client: c}
// return r.Update(c.Ctx(), "my-service", naming.Update{Op: naming.Delete, Addr: "1.2.3.4"})
// return r.Update(c.Ctx(), service, naming.Update{Op: naming.Delete, Addr: "1.2.3.4"})
// }
//
// Or register an expiring endpoint with a lease:
Expand Down

0 comments on commit 41f7142

Please sign in to comment.