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

Merge pull request #108 from flixgithub/dubbogo-flix

fix dubbo clientConfig call SetClientConf func null pointer when check conf Validity
parents 0c3a607e daf9d141
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,11 @@ func init() {
func SetClientConf(c ClientConfig) {
clientConf = &c
err := clientConf.CheckValidity()
if err != nil {
logger.Warnf("[ClientConfig CheckValidity] error: %v", err)
return
}
}
func GetClientConf() ClientConfig {
......
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