diff --git a/metricsaggregator/src/main/java/io/dockstore/metricsaggregator/client/cli/TerraMetricsSubmitter.java b/metricsaggregator/src/main/java/io/dockstore/metricsaggregator/client/cli/TerraMetricsSubmitter.java index 6db31ee6..121bae91 100644 --- a/metricsaggregator/src/main/java/io/dockstore/metricsaggregator/client/cli/TerraMetricsSubmitter.java +++ b/metricsaggregator/src/main/java/io/dockstore/metricsaggregator/client/cli/TerraMetricsSubmitter.java @@ -227,7 +227,7 @@ private void executionMetricsPost(List workflowExecutionsToSubmit, return; } // only count if there was no exception - numberOfExecutionsSubmitted.addAndGet(workflowMetricRecords.size()); + numberOfExecutionsSubmitted.addAndGet(workflowExecutionsToSubmit.size()); } /**