Skip to content
Snippets Groups Projects
Unverified Commit 5d30e9a5 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #111 from flixgithub/dubbogo-flix

fix dubbo serverConfig struct point check Validity issue
parents 1aa5bcbd a8db694b
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