diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_multicast.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_multicast.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_multicast.cpp b/src/mongo/s/commands/cluster_multicast.cpp index b26bdbe4e88..d0d8d11c607 100644 --- a/src/mongo/s/commands/cluster_multicast.cpp +++ b/src/mongo/s/commands/cluster_multicast.cpp @@ -66,9 +66,10 @@ class MulticastCmd : public BasicCommand { public: MulticastCmd() : BasicCommand("multicast") {} - AllowedOnSecondary secondaryAllowed() const override { - return AllowedOnSecondary::kAlways; + bool slaveOk() const override { + return true; } + bool adminOnly() const override { return true; } |