Skip to content
Snippets Groups Projects
Commit 81063391 authored by lxd168375's avatar lxd168375
Browse files

fix dubbo serverConfig struct point check Validity issue

parent 3db9caf2
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,11 @@ func init() {
func SetServerConfig(s ServerConfig) {
srvConf = &s
err := srvConf.CheckValidity()
if err != nil {
logger.Warnf("[ServerConfig CheckValidity] error: %v", err)
return
}
}
func GetServerConfig() ServerConfig {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment