mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 08:22:04 -06:00
fix missing NBConfiguration param name
This commit is contained in:
parent
41b17ffa62
commit
366feda873
@ -172,6 +172,9 @@ public class ConfigModel implements NBConfigModel {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (activename==null) {
|
||||
activename = param.getNames().get(0);
|
||||
}
|
||||
if (cval == null && param.isRequired()) {
|
||||
activename = param.getNames().get(0);
|
||||
cval = param.getDefaultValue(); // We know this will be valid. It was validated, correct?
|
||||
|
Loading…
Reference in New Issue
Block a user