summaryrefslogtreecommitdiff
path: root/jstests/gle/opcounters_legacy.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/gle/opcounters_legacy.js')
-rw-r--r--jstests/gle/opcounters_legacy.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/gle/opcounters_legacy.js b/jstests/gle/opcounters_legacy.js
index b243b8bc076..f4168305e2c 100644
--- a/jstests/gle/opcounters_legacy.js
+++ b/jstests/gle/opcounters_legacy.js
@@ -170,10 +170,7 @@ assert.eq(metricsObj.serverStatus.failed,
serverStatus = db.runCommand({serverStatus: 1});
opCounters = serverStatus.opcounters;
metricsObj = serverStatus.metrics.commands;
-var countVal = {
- "total": 0,
- "failed": 0
-};
+var countVal = {"total": 0, "failed": 0};
if (metricsObj.count != null) {
countVal = metricsObj.count;
}