wrong error formatting

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2015-10-06 06:58:12 +00:00
parent e04a4e9abc
commit deb81534bc
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public class ReplicaAssigner {
for (Rule rule : rules) { for (Rule rule : rules) {
for (Map.Entry<String, Map<String, Object>> e : nodeVsTags.entrySet()) { for (Map.Entry<String, Map<String, Object>> e : nodeVsTags.entrySet()) {
if (e.getValue().get(rule.tag.name) == null) { if (e.getValue().get(rule.tag.name) == null) {
errors.add(formatString("The value for tag {0} is not available for node {}")); errors.add(formatString("The value for tag {0} is not available for node {1}", rule.tag.name, e.getKey()));
} }
} }
} }