diff --git a/config/config_loader.go b/config/config_loader.go index dd1c60d632390838f8c0e34af377e4f6d9800327..adc5741cddc78511db04773720cc726f0a6fe831 100644 --- a/config/config_loader.go +++ b/config/config_loader.go @@ -258,6 +258,7 @@ func Load() (map[string]*ReferenceConfig, map[string]*ServiceConfig) { if ((refconfig.Check != nil && *refconfig.Check) || (refconfig.Check == nil && consumerConfig.Check != nil && *consumerConfig.Check) || (refconfig.Check == nil && consumerConfig.Check == nil)) && //default to true + refconfig.invoker != nil && !refconfig.invoker.IsAvailable() { checkok = false count++