summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shardsvr_create_collection_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/shardsvr_create_collection_command.cpp')
-rw-r--r--src/mongo/db/s/shardsvr_create_collection_command.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/shardsvr_create_collection_command.cpp b/src/mongo/db/s/shardsvr_create_collection_command.cpp
index 1bcff6e6dbc..21657f758eb 100644
--- a/src/mongo/db/s/shardsvr_create_collection_command.cpp
+++ b/src/mongo/db/s/shardsvr_create_collection_command.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kSharding
#include "mongo/db/auth/authorization_session.h"
#include "mongo/db/catalog/collection_catalog.h"
@@ -40,6 +39,9 @@
#include "mongo/db/timeseries/timeseries_options.h"
#include "mongo/logv2/log.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kSharding
+
+
namespace mongo {
namespace {