diff --git a/onyxia-api/src/main/java/fr/insee/onyxia/api/services/impl/kubernetes/KubernetesService.java b/onyxia-api/src/main/java/fr/insee/onyxia/api/services/impl/kubernetes/KubernetesService.java index c959636f..8be1bf6f 100644 --- a/onyxia-api/src/main/java/fr/insee/onyxia/api/services/impl/kubernetes/KubernetesService.java +++ b/onyxia-api/src/main/java/fr/insee/onyxia/api/services/impl/kubernetes/KubernetesService.java @@ -11,7 +11,6 @@ import io.fabric8.kubernetes.api.model.Quantity; import io.fabric8.kubernetes.api.model.ResourceQuota; import io.fabric8.kubernetes.api.model.ResourceQuotaBuilder; -import io.fabric8.kubernetes.api.model.ResourceQuotaFluent; import io.fabric8.kubernetes.api.model.rbac.RoleBinding; import io.fabric8.kubernetes.api.model.rbac.RoleBindingBuilder; import io.fabric8.kubernetes.api.model.rbac.SubjectBuilder; @@ -183,8 +182,7 @@ private void applyQuotas( return; } - final ResourceQuotaFluent.SpecNested resourceQuotaBuilderSpecNested = - resourceQuotaBuilder.withNewSpec(); + var resourceQuotaBuilderSpecNested = resourceQuotaBuilder.withNewSpec(); quotasToApply.entrySet().stream() .filter(e -> e.getValue() != null) .forEach( diff --git a/pom.xml b/pom.xml index c66f192a..add875fc 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ - 6.7.1 + 6.9.2 21 21