diff options
Diffstat (limited to 'src/mongo/db/commands/current_op_common.h')
-rw-r--r-- | src/mongo/db/commands/current_op_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/current_op_common.h b/src/mongo/db/commands/current_op_common.h index 367fb7f0ba8..517d494d851 100644 --- a/src/mongo/db/commands/current_op_common.h +++ b/src/mongo/db/commands/current_op_common.h @@ -51,8 +51,8 @@ public: return false; } - AllowedOnSecondary secondaryAllowed() const final { - return AllowedOnSecondary::kAlways; + bool slaveOk() const final { + return true; } bool adminOnly() const final { |