Skip to content
Snippets Groups Projects
Commit 6356bbb7 authored by fangyincheng's avatar fangyincheng
Browse files

Fix:lack SetProviderConfig

parent 11661bcc
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