Fix for graphite reporter regression

This commit is contained in:
Jonathan Shook 2020-09-22 12:03:20 -05:00
parent 558a1c76be
commit 75d6450341

View File

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