Skip to content
Snippets Groups Projects
Commit 4521e094 authored by vito.he's avatar vito.he
Browse files

Mod:rw problem

parent ace78990
No related branches found
No related tags found
No related merge requests found
......@@ -251,12 +251,12 @@ func GetApplicationConfig() *ApplicationConfig {
// GetProviderConfig find the provider config
// if not found, create new one
func GetProviderConfig() *ProviderConfig {
func GetProviderConfig() ProviderConfig {
if providerConfig == nil {
logger.Warnf("providerConfig is nil!")
return &ProviderConfig{}
return ProviderConfig{}
}
return providerConfig
return *providerConfig
}
// GetConsumerConfig find the consumer config
......
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