mirror of
https://github.com/go-kratos/kratos.git
synced 2025-02-21 19:19:32 +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
|
// a more graceful way to create naming client
|
||||||
client, err := clients.NewNamingClient(
|
client, err := clients.NewConfigClient(
|
||||||
vo.NacosClientParam{
|
vo.NacosClientParam{
|
||||||
ClientConfig: cc,
|
ClientConfig: cc,
|
||||||
ServerConfigs: sc,
|
ServerConfigs: sc,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user