mirror of https://github.com/apache/lucene.git
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:
parent
e04a4e9abc
commit
deb81534bc
|
@ -292,7 +292,7 @@ public class ReplicaAssigner {
|
|||
for (Rule rule : rules) {
|
||||
for (Map.Entry<String, Map<String, Object>> e : nodeVsTags.entrySet()) {
|
||||
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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue