diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-07-25 15:04:48 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-07-30 13:57:10 -0400 |
commit | 480192de1789e8387b64976ad015c11fac990617 (patch) | |
tree | 1bd8c4bf54334ca55254bbf534ad3d7127843355 /jstests/libs/profiler.js | |
parent | d68d672dd4cc27c92be897e7523fad85664fc39e (diff) | |
download | mongo-480192de1789e8387b64976ad015c11fac990617.tar.gz |
SERVER-33135 Delete code for OP_COMMAND
Diffstat (limited to 'jstests/libs/profiler.js')
-rw-r--r-- | jstests/libs/profiler.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/jstests/libs/profiler.js b/jstests/libs/profiler.js index 6fe2c841cee..63af457299b 100644 --- a/jstests/libs/profiler.js +++ b/jstests/libs/profiler.js @@ -57,8 +57,6 @@ function getProfilerProtocolStringForCommand(conn) { const protocols = conn.getClientRPCProtocols(); if ("all" === protocols || /Msg/.test(protocols)) return "op_msg"; - if (/Command/.test(protocols)) - return "op_command"; if (/Query/.test(protocols)) return "op_query"; doassert(`Unknown prototocol string ${protocols}`); |