mirror of
https://github.com/go-kratos/kratos.git
synced 2025-02-19 19:10:08 +02:00
fix doc (#1636)
This commit is contained in:
parent
3231b35420
commit
7d821541b3
@ -24,7 +24,7 @@ cc := &constant.ClientConfig{
|
||||
}
|
||||
|
||||
// a more graceful way to create naming client
|
||||
client, err := clients.NewNamingClient(
|
||||
client, err := clients.NewConfigClient(
|
||||
vo.NacosClientParam{
|
||||
ClientConfig: cc,
|
||||
ServerConfigs: sc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user