Skip to content

Commit

Permalink
(doc): fixed typo (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarium authored Sep 24, 2024
1 parent a9ff1ae commit 90d6b0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import "github.com/go-kratos/kratos/v2/selector/filter"
// Create a route Filter: filter instances with version number "2.0.0".
filter := filter.Version("2.0.0")
// Create P2C load balancing algorithm Selector, and inject routing Filter.
selctor.SetGlobalSelector(wrr.NewBuilder())
selector.SetGlobalSelector(wrr.NewBuilder())

hConn, err := http.NewClient(
http.WithEndpoint("discovery:///helloworld"),
Expand Down

0 comments on commit 90d6b0a

Please sign in to comment.