From e1849b164d2daabfe8f02a55a2aefd8bcd29913b Mon Sep 17 00:00:00 2001 From: dblock Date: Wed, 8 Jan 2025 10:24:42 -0500 Subject: [PATCH] Fix up UPGRADING.md. Signed-off-by: dblock --- UPGRADING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UPGRADING.md b/UPGRADING.md index 33f30976..5182b0ae 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -101,6 +101,7 @@ $transport = (new \OpenSearch\TransportFactory()) ->setRequestFactory($requestFactory) ->create(); +$endpointFactory = new \OpenSearch\EndpointFactory(); $client = new \OpenSearch\Client($transport, $endpointFactory, []); // Send a request to the 'info' endpoint.