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 = "-";
}
}
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 = "-"; } }