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

Mod:rw problem

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