Skip to content

Commit

Permalink
Replaced the word 'shards' with 'replicas' in an error message. (#36234
Browse files Browse the repository at this point in the history
…) (#36275)

Closes #36234
  • Loading branch information
AlexisWilke authored and original-brownbear committed Jan 1, 2019
1 parent 794303a commit 35c09ad
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1111,7 +1111,7 @@ public IndexMetaData build() {
}
int numberOfReplicas = maybeNumberOfReplicas;
if (numberOfReplicas < 0) {
throw new IllegalArgumentException("must specify non-negative number of shards for index [" + index + "]");
throw new IllegalArgumentException("must specify non-negative number of replicas for index [" + index + "]");
}

int routingPartitionSize = INDEX_ROUTING_PARTITION_SIZE_SETTING.get(settings);
Expand Down

0 comments on commit 35c09ad

Please sign in to comment.