Describe the bug
when i set spring.cloud.config.discovery.enabled=true
i found org.springframework.cloud.client.discovery.DiscoveryClient will be stoped
if use @Autowired DiscoveryClient discoveryClient;
you will never get new instances because of the eurekaClient is stoped
is this early eurekaClient can be destroy instead of stop?