fix diag op format

This commit is contained in:
Jonathan Shook 2023-01-27 17:16:25 -06:00
parent ec60692375
commit 7f8b436ac7
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}

View File

@ -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);