Skip to content

Commit

Permalink
fix null MinioConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisszmundy committed Oct 24, 2024
1 parent 977aea2 commit 5feff4f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 5feff4f

Please sign in to comment.