Skip to content

Commit

Permalink
BC-7234 - reduce sonar complain
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 21, 2024
1 parent ab8e241 commit 9f894f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/de/svs/doido/mongo/ConfigmapApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,16 @@
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import io.fabric8.kubernetes.client.KubernetesClient;
import java.util.List;
import jakarta.inject.Inject;
import svs.doido.mongo.dto.Configmap;
import svs.doido.mongo.kubernetes.configmap.Read;

@Path("/configmap")
public class ConfigmapApi {

private final KubernetesClient kubernetesClient;

@Inject
Read cfg;

public ConfigmapApi(KubernetesClient kubernetesClient) {
this.kubernetesClient = kubernetesClient;
}

@GET
@Path("/{namespace}/{configmapName}")
@Produces(MediaType.APPLICATION_JSON)
Expand Down

0 comments on commit 9f894f3

Please sign in to comment.