add support for scenarios from a http service

This commit is contained in:
Jake Luciani
2021-11-18 16:55:23 -05:00
parent d31fbd45fe
commit af83ca6d65
3 changed files with 13 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public class NBCLIScenarioParser {
.prefix(includes)
.name(workloadName)
.extension(RawStmtsLoader.YAML_EXTENSIONS)
.one();
.first().orElseThrow();
StmtsDocList stmts = StatementsLoader.loadContent(logger, yamlWithNamedScenarios, userParams);