diff --git a/src/main/java/org/elasticsearch/cluster/metadata/MetaData.java b/src/main/java/org/elasticsearch/cluster/metadata/MetaData.java index f4b6ea1b931..67f9c9ecec5 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/MetaData.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/MetaData.java @@ -701,7 +701,7 @@ public class MetaData implements Iterable { return this.numberOfShards; } - public int getnumberOfShards() { + public int getNumberOfShards() { return numberOfShards(); }