Skip to content

Commit 1357258

Browse files
author
mbrill-nt
committed
#68 Removed wrong negation
1 parent 4e2d1aa commit 1357258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/graph_generator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GraphGenerator {
2323
return undefined;
2424
}
2525

26-
const sumMetrics = !this.controller.getSettings(true).sumTimings;
26+
const sumMetrics = this.controller.getSettings(true).sumTimings;
2727

2828
var nodeName = dataElements[0].target;
2929
if (nodeName === '' || nodeName === undefined || nodeName === null) {
@@ -184,7 +184,7 @@ class GraphGenerator {
184184
if (!_.isUndefined(response_time_out)) {
185185
const { sumTimings } = this.controller.getSettings(true);
186186

187-
if (!sumTimings && metrics.rate) {
187+
if (sumTimings && metrics.rate) {
188188
metrics.response_time = response_time_out / metrics.rate;
189189
} else {
190190
metrics.response_time = response_time_out;

0 commit comments

Comments
 (0)