summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/kill_op.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/kill_op.cpp')
-rw-r--r--src/mongo/db/commands/kill_op.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/kill_op.cpp b/src/mongo/db/commands/kill_op.cpp
index 8cc2754e919..61be46cbf9b 100644
--- a/src/mongo/db/commands/kill_op.cpp
+++ b/src/mongo/db/commands/kill_op.cpp
@@ -105,7 +105,7 @@ public:
Status checkAuthForCommand(Client* client,
const std::string& dbname,
- const BSONObj& cmdObj) final {
+ const BSONObj& cmdObj) const final {
AuthorizationSession* authzSession = AuthorizationSession::get(client);
if (authzSession->isAuthorizedForActionsOnResource(ResourcePattern::forClusterResource(),