From 12fd2f0ab547c68094d28665b1995f1174ce1574 Mon Sep 17 00:00:00 2001 From: Jeff Trent Date: Wed, 4 Oct 2023 15:31:32 -0400 Subject: [PATCH] use new api --- .../DefaultOciCertificatesTlsManagerProvider.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integrations/oci/tls-certificates/src/main/java/io/helidon/integrations/oci/tls/certificates/DefaultOciCertificatesTlsManagerProvider.java b/integrations/oci/tls-certificates/src/main/java/io/helidon/integrations/oci/tls/certificates/DefaultOciCertificatesTlsManagerProvider.java index 88a81312832..593824375da 100644 --- a/integrations/oci/tls-certificates/src/main/java/io/helidon/integrations/oci/tls/certificates/DefaultOciCertificatesTlsManagerProvider.java +++ b/integrations/oci/tls-certificates/src/main/java/io/helidon/integrations/oci/tls/certificates/DefaultOciCertificatesTlsManagerProvider.java @@ -43,9 +43,7 @@ public String configKey() { public TlsManager create(Config config, String name) { OciCertificatesTlsManagerConfig cfg = OciCertificatesTlsManagerConfig.create(config); - return TlsManagerProvider.getOrCreate(config, - name, - cfg, + return TlsManagerProvider.getOrCreate(cfg, (c) -> new DefaultOciCertificatesTlsManager(cfg, name, config)); }