diff options
author | Martin Bligh <mbligh@mongodb.com> | 2015-11-11 17:01:03 -0500 |
---|---|---|
committer | Martin Bligh <mbligh@mongodb.com> | 2015-11-11 17:01:03 -0500 |
commit | 5dd9558ed687faa62037cd0f9774a7bd45c62b84 (patch) | |
tree | d781826b203621e59354db824bcce15262daca67 /src/mongo/rpc/legacy_reply.cpp | |
parent | 273aca8cdff4e23f62244b2537b72a12269b6370 (diff) | |
download | mongo-5dd9558ed687faa62037cd0f9774a7bd45c62b84.tar.gz |
SERVER-21276: Fix various issues with top
Diffstat (limited to 'src/mongo/rpc/legacy_reply.cpp')
-rw-r--r-- | src/mongo/rpc/legacy_reply.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/rpc/legacy_reply.cpp b/src/mongo/rpc/legacy_reply.cpp index b516b536503..60d68008558 100644 --- a/src/mongo/rpc/legacy_reply.cpp +++ b/src/mongo/rpc/legacy_reply.cpp @@ -47,7 +47,7 @@ LegacyReply::LegacyReply(const Message* message) : _message(std::move(message)) QueryResult::View qr = _message->singleData().view2ptr(); // should be checked by caller. - invariant(qr.msgdata().getOperation() == opReply); + invariant(qr.msgdata().getNetworkOp() == opReply); uassert(ErrorCodes::BadValue, str::stream() << "Got legacy command reply with a bad cursorId field," |