1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-19 19:10:08 +02:00
This commit is contained in:
wuxingzhong 2021-11-18 21:22:19 +08:00 committed by GitHub
parent 3231b35420
commit 7d821541b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,