diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2020-03-18 17:40:13 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-23 22:34:38 +0000 |
commit | 2debd8d3f087a50c3c7ec6d3d99ba6b056a24eab (patch) | |
tree | 50e10550a5ad53b5117e68c2260588161dd1fb10 /src/mongo/db/s/sharding_state.cpp | |
parent | 65f447b27e9b3db0315dd52d97d9e26fa462916c (diff) | |
download | mongo-2debd8d3f087a50c3c7ec6d3d99ba6b056a24eab.tar.gz |
SERVER-46799 Update sharding log lines to adhere to LOGV2 style guide
Diffstat (limited to 'src/mongo/db/s/sharding_state.cpp')
-rw-r--r-- | src/mongo/db/s/sharding_state.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/s/sharding_state.cpp b/src/mongo/db/s/sharding_state.cpp index bf726297d0c..748e6701a2b 100644 --- a/src/mongo/db/s/sharding_state.cpp +++ b/src/mongo/db/s/sharding_state.cpp @@ -70,8 +70,9 @@ void ShardingState::setInitialized(ShardId shardId, OID clusterId) { void ShardingState::setInitialized(Status failedStatus) { invariant(!failedStatus.isOK()); LOGV2(22082, - "Failed to initialize sharding components{causedBy_failedStatus}", - "causedBy_failedStatus"_attr = causedBy(failedStatus)); + "Failed to initialize sharding components {error}", + "Failed to initialize sharding components", + "error"_attr = failedStatus); stdx::unique_lock<Latch> ul(_mutex); invariant(_getInitializationState() == InitializationState::kNew); |