From f1650ba76da735c6790d947bf00199f14eba2613 Mon Sep 17 00:00:00 2001 From: Jakob Hahn Date: Thu, 21 Sep 2023 14:07:19 +0200 Subject: [PATCH] opensearchapi: add pointInTimeClient to rootClient Signed-off-by: Jakob Hahn --- opensearchapi/opensearchapi.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opensearchapi/opensearchapi.go b/opensearchapi/opensearchapi.go index 0c559da3a..38d6d803b 100644 --- a/opensearchapi/opensearchapi.go +++ b/opensearchapi/opensearchapi.go @@ -52,6 +52,7 @@ type Client struct { IndexTemplate indexTemplateClient Template templateClient DataStream dataStreamClient + PointInTime pointInTimeClient } // clientInit inits the Client with all sub clients @@ -75,6 +76,7 @@ func clientInit(rootClient *opensearch.Client) *Client { client.IndexTemplate = indexTemplateClient{apiClient: client} client.Template = templateClient{apiClient: client} client.DataStream = dataStreamClient{apiClient: client} + client.PointInTime = pointInTimeClient{apiClient: client} return client }