From c274d374d89030d0d1d3f51552d2c8c90c4cfedf Mon Sep 17 00:00:00 2001 From: Ales Pour Date: Thu, 18 Jan 2024 16:13:19 +0100 Subject: [PATCH] fix: proxy example in javadoc --- src/main/java/com/influxdb/v3/client/config/ClientConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/influxdb/v3/client/config/ClientConfig.java b/src/main/java/com/influxdb/v3/client/config/ClientConfig.java index ac4f400..58194a7 100644 --- a/src/main/java/com/influxdb/v3/client/config/ClientConfig.java +++ b/src/main/java/com/influxdb/v3/client/config/ClientConfig.java @@ -69,7 +69,7 @@ * .database("my-database") * .writePrecision(WritePrecision.S) * .gzipThreshold(4096) - * .proxy(ProxySelector.of(new InetSocketAddress("http://proxy.local", 8888))) + * .proxy(ProxySelector.of(new InetSocketAddress("proxy.local", 8888))) * .build(); * * try (InfluxDBClient client = InfluxDBClient.getInstance(config)) {