diff --git a/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java b/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java index 2b53349e261..bbb06ee364e 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java @@ -29,7 +29,7 @@ import org.elasticsearch.common.xcontent.XContentParser; import java.io.IOException; /** - * Meta data about snapshots that are currently executing + * Meta data about benchmarks that are currently executing */ public class BenchmarkMetaData implements MetaData.Custom { public static final String TYPE = "benchmark"; @@ -154,15 +154,6 @@ public class BenchmarkMetaData implements MetaData.Custom { return this.entries; } - public Entry snapshot(SnapshotId snapshotId) { - for (Entry entry : entries) { - if (snapshotId.equals(entry.benchmarkId())) { - return entry; - } - } - return null; - } - public static class Factory implements MetaData.Custom.Factory {