spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

ConsulConfigProperties not caling init() method in spring-cloud-consul-config:3.1.2 #823

Open CheKazan opened 1 year ago

CheKazan commented 1 year ago

In spring-cloud-consul-config:3.1.2 not calling init method in ConsulConfigProperties, and you have to set the property manually, which is inconvenient.

@PostConstruct public void init() { if (this.format == Format.FILES) { this.profileSeparator = "-"; } }