diff --git a/protocol/dubbo/server.go b/protocol/dubbo/server.go index ac521bdc485c5add3745ba78acf8cafab6675158..25c8f1bf4d7deaf87c3216cbfcd70d499ed2fb24 100644 --- a/protocol/dubbo/server.go +++ b/protocol/dubbo/server.go @@ -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 {