minor updates

This commit is contained in:
Jonathan Shook
2023-10-16 22:55:10 -05:00
parent e44b5a21b7
commit b8c9af6e71
2 changed files with 3 additions and 11 deletions

View File

@@ -192,14 +192,6 @@ public class NBCLIScenarioParser {
// TODO: simplify this
String alias = buildingCmd.get("alias");
for (String token : new String[]{"STEP"}) {
if (!alias.contains(token)) {
logger.warn("Your alias template '" + alias + "' does not contain " + token + ", which will " +
"cause your metrics to be combined under the same name. It is strongly advised that you " +
"include them in a template like " + WORKLOAD_SCENARIO_STEP + ".");
}
}
String workloadToken = workloadContent.asPath().getFileName().toString();
alias = alias.replaceAll("WORKLOAD", sanitize(workloadToken));