From eb6bd5923971342a00f65dec055ed15a79d050d6 Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Fri, 24 Nov 2023 17:03:14 +0100 Subject: [PATCH] Update to latest vertx option --- .../io/vertx/serviceresolver/kube/KubeResolverOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/vertx/serviceresolver/kube/KubeResolverOptions.java b/src/main/java/io/vertx/serviceresolver/kube/KubeResolverOptions.java index bf17362..75cc9b4 100644 --- a/src/main/java/io/vertx/serviceresolver/kube/KubeResolverOptions.java +++ b/src/main/java/io/vertx/serviceresolver/kube/KubeResolverOptions.java @@ -71,8 +71,8 @@ public class KubeResolverOptions { File caFile = new File(KUBERNETES_SERVICE_ACCOUNT_CA); if (caFile.exists()) { PemTrustOptions pemTrustOptions = new PemTrustOptions().addCertPath(KUBERNETES_SERVICE_ACCOUNT_CA); - httpClientOptions.setPemTrustOptions(pemTrustOptions); - webSocketClientOptions.setPemTrustOptions(pemTrustOptions); + httpClientOptions.setTrustOptions(pemTrustOptions); + webSocketClientOptions.setTrustOptions(pemTrustOptions); } DEFAULT_HOST = host; DEFAULT_PORT = port;