mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 21:57:30 +08:00
use custom nacos go sdk for disable log (#1991)
This commit is contained in:
@@ -100,3 +100,5 @@ require (
|
|||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
|
replace github.com/nacos-group/nacos-sdk-go/v2 v2.2.9 => github.com/luoxiner/nacos-sdk-go/v2 v2.2.9-30
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ func CreateNacosMcpRegsitry(config *NacosConfig) (*NacosMcpRegsitry, error) {
|
|||||||
)
|
)
|
||||||
cc.AppendToStdout = true
|
cc.AppendToStdout = true
|
||||||
|
|
||||||
|
cc.DiableLog = true
|
||||||
|
|
||||||
if config.Namespace != nil {
|
if config.Namespace != nil {
|
||||||
cc.NamespaceId = *config.Namespace
|
cc.NamespaceId = *config.Namespace
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user