From a61e558a827a35891bc741318ea3bc32c05923f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Tue, 6 Sep 2022 16:30:28 +0200 Subject: [PATCH] Fix deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #97 Signed-off-by: Lukáš Vlček --- .../org/opensearch/action/NodePrometheusMetricsRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/opensearch/action/NodePrometheusMetricsRequest.java b/src/main/java/org/opensearch/action/NodePrometheusMetricsRequest.java index 0806ace..c37f8bb 100644 --- a/src/main/java/org/opensearch/action/NodePrometheusMetricsRequest.java +++ b/src/main/java/org/opensearch/action/NodePrometheusMetricsRequest.java @@ -17,7 +17,7 @@ package org.opensearch.action; -import org.opensearch.action.support.master.MasterNodeReadRequest; +import org.opensearch.action.support.clustermanager.ClusterManagerNodeReadRequest; import org.opensearch.common.io.stream.StreamInput; import java.io.IOException; @@ -25,7 +25,7 @@ /** * Action request class for Prometheus Exporter plugin. */ -public class NodePrometheusMetricsRequest extends MasterNodeReadRequest { +public class NodePrometheusMetricsRequest extends ClusterManagerNodeReadRequest { public NodePrometheusMetricsRequest() { super();