diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_multicast.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_multicast.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/s/commands/cluster_multicast.cpp b/src/mongo/s/commands/cluster_multicast.cpp index 54991980075..d1fcd3cc729 100644 --- a/src/mongo/s/commands/cluster_multicast.cpp +++ b/src/mongo/s/commands/cluster_multicast.cpp @@ -147,12 +147,7 @@ public: } }; -MONGO_INITIALIZER(RegisterMulticast)(InitializerContext* context) { - if (getTestCommandsEnabled()) { - new MulticastCmd(); - } - return Status::OK(); -} +MONGO_REGISTER_TEST_COMMAND(MulticastCmd); } // namespace } // namespace mongo |