From 75d64503414713ac0b21148b11b4f82a95c552ac Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Tue, 22 Sep 2020 12:03:20 -0500 Subject: [PATCH] Fix for graphite reporter regression --- .../main/java/io/nosqlbench/engine/cli/NBCLIOptions.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine-cli/src/main/java/io/nosqlbench/engine/cli/NBCLIOptions.java b/engine-cli/src/main/java/io/nosqlbench/engine/cli/NBCLIOptions.java index 98db74e2d..cd1f6dc5e 100644 --- a/engine-cli/src/main/java/io/nosqlbench/engine/cli/NBCLIOptions.java +++ b/engine-cli/src/main/java/io/nosqlbench/engine/cli/NBCLIOptions.java @@ -167,6 +167,10 @@ public class NBCLIOptions { String include = readWordOrThrow(arglist, "path to include"); wantsToIncludePaths.add(include); break; + case REPORT_GRAPHITE_TO: + arglist.removeFirst(); + reportGraphiteTo = arglist.removeFirst(); + break; case METRICS_PREFIX: arglist.removeFirst(); metricsPrefix = arglist.removeFirst(); @@ -316,10 +320,6 @@ public class NBCLIOptions { arglist.removeFirst(); reportCsvTo = arglist.removeFirst(); break; - case REPORT_GRAPHITE_TO: - arglist.removeFirst(); - reportGraphiteTo = arglist.removeFirst(); - break; case LIST_DRIVERS: case LIST_ACTIVITY_TYPES: arglist.removeFirst();