@PostConstruct
	public void init() {
		if (this.instance == null) {
			return;
		}
		String prefix = this.env.getProperty("spring.cloud.config.server.prefix");
		if (StringUtils.hasText(prefix) && !StringUtils.hasText(this.instance.getMetadataMap().get("configPath"))) {
			this.instance.getMetadataMap().put("configPath", prefix);
		}
	}
Extra configuration for config server if it happens to be a Eureka instance.

@author Dave Syer
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/config/EurekaClientConfigServerAutoConfiguration.java