mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
remove overzealous labels check
This commit is contained in:
parent
45caa85050
commit
acd8c7a3ed
@ -37,9 +37,9 @@ public class NBLabelSpec {
|
||||
} else if (parts[1].startsWith("$")) {
|
||||
buf = buf.and(NBLabels.forKV().andTypes(parts[0], parts[1].substring(1)));
|
||||
} else {
|
||||
if (parts[1].matches(".*[0-9]+.*")) {
|
||||
throw new BasicError("You have specified an auxiliary tag which contains numbers in its value (" + component + "), but you have not designated it as a dimension, as in " + parts[0] + ":$" + parts[1] + " or an instance value, as in " + parts[0] + ":#" + parts[1]);
|
||||
}
|
||||
// if (parts[1].matches(".*[0-9]+.*")) {
|
||||
// throw new BasicError("You have specified an auxiliary tag which contains numbers in its value (" + component + "), but you have not designated it as a dimension, as in " + parts[0] + ":$" + parts[1] + " or an instance value, as in " + parts[0] + ":#" + parts[1]);
|
||||
// }
|
||||
buf = buf.and(NBLabels.forKV().andTypes(parts[0], parts[1]));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user