Skip to content
Snippets Groups Projects
Unverified Commit 31e1a220 authored by vito.he's avatar vito.he Committed by GitHub
Browse files

Merge pull request #60 from dubbo/develop

Fix: lack SetProviderConfig
parents ad82d036 fc326985
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,9 @@ type ProviderConfig struct {
ProtocolConf interface{} `yaml:"protocol_conf" json:"protocol_conf,omitempty"`
}
func SetProviderConfig(p ProviderConfig) {
providerConfig = &p
}
func GetProviderConfig() ProviderConfig {
if providerConfig == nil {
logger.Warnf("providerConfig is nil!")
......
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