Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
Closes: #97
Signed-off-by: Lukáš Vlček <[email protected]>
  • Loading branch information
lukas-vlcek committed Sep 6, 2022
1 parent c7511b8 commit a61e558
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

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;

/**
* Action request class for Prometheus Exporter plugin.
*/
public class NodePrometheusMetricsRequest extends MasterNodeReadRequest<NodePrometheusMetricsRequest> {
public class NodePrometheusMetricsRequest extends ClusterManagerNodeReadRequest<NodePrometheusMetricsRequest> {

public NodePrometheusMetricsRequest() {
super();
Expand Down

0 comments on commit a61e558

Please sign in to comment.