mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-14 01:42:06 -06:00
fix diag op format
This commit is contained in:
parent
ec60692375
commit
7f8b436ac7
@ -103,6 +103,6 @@ public class DiagDriverAdapter extends BaseDriverAdapter<DiagOp, DiagSpace> impl
|
||||
|
||||
@Override
|
||||
public List<OpTemplate> getSyntheticOpTemplates(OpsDocList opsDocList, Map<String, Object> params) {
|
||||
return OpsLoader.loadString("ops: 'log:level=INFO'", OpTemplateFormat.inline, params,null).getStmts();
|
||||
return OpsLoader.loadString("log:level=INFO", OpTemplateFormat.inline, params,null).getStmts();
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public class OpsLoader {
|
||||
StrInterpolator transformer = new StrInterpolator(params);
|
||||
String data = transformer.apply(sourceData);
|
||||
if (srcuri!=null) {
|
||||
logger.info("Loading workload template from '" + srcuri + "'");
|
||||
logger.info("workload URI: '" + srcuri + "'");
|
||||
}
|
||||
|
||||
RawOpsLoader loader = new RawOpsLoader(transformer);
|
||||
|
Loading…
Reference in New Issue
Block a user