We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff84aa8 commit ec82377Copy full SHA for ec82377
config/config_loader.go
@@ -441,8 +441,6 @@ func GetApplicationConfig() *ApplicationConfig {
441
// if not found, create new one
442
func GetProviderConfig() ProviderConfig {
443
if providerConfig == nil {
444
- configAccessMutex.Lock()
445
- defer configAccessMutex.Unlock()
446
447
return ProviderConfig{}
448
}
@@ -457,8 +455,6 @@ func GetProviderConfig() ProviderConfig {
457
455
// So you don't need to worry about the race condition
458
456
func GetConsumerConfig() ConsumerConfig {
459
if consumerConfig == nil {
460
461
462
463
return ConsumerConfig{}
464
0 commit comments