mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
support desc and description in yaml
This commit is contained in:
@@ -91,6 +91,9 @@ public class RawStmtFields extends Tags {
|
||||
public void setFieldsByReflection(Map<String, Object> propsmap) {
|
||||
|
||||
Object descriptionObj = propsmap.remove("description");
|
||||
if (descriptionObj==null) {
|
||||
descriptionObj = propsmap.remove("desc");
|
||||
}
|
||||
if (descriptionObj!=null) {
|
||||
setDescription(descriptionObj.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user