diff options
Diffstat (limited to 'src/mongo/db/s/config/configsvr_remove_shard_command.cpp')
-rw-r--r-- | src/mongo/db/s/config/configsvr_remove_shard_command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/config/configsvr_remove_shard_command.cpp b/src/mongo/db/s/config/configsvr_remove_shard_command.cpp index d55e81b4ba9..e8d089c9370 100644 --- a/src/mongo/db/s/config/configsvr_remove_shard_command.cpp +++ b/src/mongo/db/s/config/configsvr_remove_shard_command.cpp @@ -62,8 +62,8 @@ public: "directly. Removes a shard from the cluster."; } - AllowedOnSecondary secondaryAllowed() const override { - return AllowedOnSecondary::kNever; + bool slaveOk() const override { + return false; } bool adminOnly() const override { |