diff --git a/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java b/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java index 101dbbe6c94..8890a046b96 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java @@ -414,7 +414,7 @@ public class IndexMetaData { return index; } - public Builder index(String name) { + public Builder index(String index) { this.index = index; return this; }