From 5feff4f3c66bed04b841a36c6d5b98af4f5190e6 Mon Sep 17 00:00:00 2001 From: QDIBYS Date: Thu, 24 Oct 2024 15:18:34 +0200 Subject: [PATCH] fix null MinioConfig --- .../fr/insee/kraftwerk/api/services/HealthcheckService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kraftwerk-api/src/main/java/fr/insee/kraftwerk/api/services/HealthcheckService.java b/kraftwerk-api/src/main/java/fr/insee/kraftwerk/api/services/HealthcheckService.java index bf09ccf3..0f415aca 100644 --- a/kraftwerk-api/src/main/java/fr/insee/kraftwerk/api/services/HealthcheckService.java +++ b/kraftwerk-api/src/main/java/fr/insee/kraftwerk/api/services/HealthcheckService.java @@ -3,6 +3,7 @@ import fr.insee.kraftwerk.api.client.GenesisClient; import fr.insee.kraftwerk.api.configuration.ConfigProperties; +import fr.insee.kraftwerk.api.configuration.MinioConfig; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; @@ -31,8 +32,8 @@ public class HealthcheckService extends KraftwerkService { ConfigProperties configProperties; @Autowired - public HealthcheckService(ConfigProperties configProperties) { - super(null); + public HealthcheckService(ConfigProperties configProperties, MinioConfig minioConfig) { + super(minioConfig); this.configProperties = configProperties; this.client = new GenesisClient(new RestTemplateBuilder(), configProperties);