summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-05-20 14:51:35 -0400
committerBenety Goh <benety@mongodb.com>2017-05-25 12:22:29 -0400
commitbb4d304a75271510250419f7a6edfcb62433eb79 (patch)
treedb524b24b339b204564349237fb2904622f9fd72 /src/mongo/db/audit.cpp
parent41046adf0e53a35f7c2301f12d577476086c6c6d (diff)
downloadmongo-bb4d304a75271510250419f7a6edfcb62433eb79.tar.gz
SERVER-29314 add CommandInterface to break cyclic dependency between Command and audit implementations
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index dce575b621f..12cfa4e2c5b 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -46,7 +46,7 @@ void logAuthentication(Client* client,
void logCommandAuthzCheck(Client* client,
const std::string& dbname,
const BSONObj& cmdObj,
- Command* command,
+ CommandInterface* command,
ErrorCodes::Error result) MONGO_AUDIT_STUB
void logDeleteAuthzCheck(Client* client,