mirror of
https://github.com/kamax-matrix/mxisd.git
synced 2026-01-26 19:11:39 +01:00
Fix #101
The default value was never initialized due to a missing annotation
This commit is contained in:
parent
7208c7e456
commit
f13748abeb
@ -23,6 +23,7 @@ package io.kamax.mxisd.config;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.util.Objects;
|
||||
|
||||
@Configuration
|
||||
@ -39,6 +40,7 @@ public class BulkLookupConfig {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void build() {
|
||||
if (Objects.isNull(enabled)) {
|
||||
enabled = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user