From 71a8cea9c7bed407edaa73ddb5edb4f856fa3517 Mon Sep 17 00:00:00 2001 From: I562548 Date: Thu, 15 Aug 2024 10:34:21 +0300 Subject: [PATCH] remove metrics --- .../client/facade/adapters/CloudFoundryClientFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/sap/cloudfoundry/client/facade/adapters/CloudFoundryClientFactory.java b/src/main/java/com/sap/cloudfoundry/client/facade/adapters/CloudFoundryClientFactory.java index 0541b883a..f4a00150a 100644 --- a/src/main/java/com/sap/cloudfoundry/client/facade/adapters/CloudFoundryClientFactory.java +++ b/src/main/java/com/sap/cloudfoundry/client/facade/adapters/CloudFoundryClientFactory.java @@ -161,8 +161,7 @@ private reactor.netty.http.client.HttpClient getAdditionalHttpClientConfiguratio if (getResponseTimeout().isPresent()) { clientWithOptions = clientWithOptions.responseTimeout(getResponseTimeout().get()); } - clientWithOptions = clientWithOptions.metrics(true, Function.identity()); + return clientWithOptions; } - }