summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2021-03-19 17:43:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-19 18:13:11 +0000
commit4e410825f29880ff9502d41e3874b9ec8cef49cd (patch)
treedb99929e198cea36e3c167da546e38042874cbcb /src/mongo/db/audit.cpp
parente0c02385a21c388365b8908ebe33aaeeda3725e0 (diff)
downloadmongo-4e410825f29880ff9502d41e3874b9ec8cef49cd.tar.gz
SERVER-24912 Audit setting ClientMetadata as its own event
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 08b811dc3f2..512e8692e69 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -36,6 +36,10 @@ namespace audit {
ImpersonatedClientAttrs::ImpersonatedClientAttrs(Client* client) {}
+void logClientMetadata(Client* client) {
+ invariant(client);
+}
+
void logAuthentication(Client* client, const AuthenticateEvent&) {
invariant(client);
}