diff options
author | Matt Kangas <matt.kangas@mongodb.com> | 2014-11-18 11:50:57 -0500 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2014-11-18 17:03:02 -0500 |
commit | 107a8a87e50f4e625c6a4f0c533db0f75f037093 (patch) | |
tree | 6599bd62b1cf593f2c5dd46ad03f2d47c5bc9fa3 /src/mongo/logger | |
parent | 9efe8f1e1d37239cf77e8b5de57bce42dc43e8e1 (diff) | |
download | mongo-107a8a87e50f4e625c6a4f0c533db0f75f037093.tar.gz |
SERVER-16209 LogComponent::kWrites -> kWrite
Diffstat (limited to 'src/mongo/logger')
-rw-r--r-- | src/mongo/logger/log_component.cpp | 4 | ||||
-rw-r--r-- | src/mongo/logger/log_component.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/logger/log_component.cpp b/src/mongo/logger/log_component.cpp index 6583136dba6..63bf64be0cc 100644 --- a/src/mongo/logger/log_component.cpp +++ b/src/mongo/logger/log_component.cpp @@ -102,7 +102,7 @@ std::string _dottedNames[LogComponent::kNumLogComponents+1]; case kSharding: return createStringData("sharding"); case kStorage: return createStringData("storage"); case kJournal: return createStringData("journal"); - case kWrites: return createStringData("write"); + case kWrite: return createStringData("write"); case kNumLogComponents: return createStringData("total"); // No default. Compiler should complain if there's a log component that's not handled. } @@ -147,7 +147,7 @@ std::string _dottedNames[LogComponent::kNumLogComponents+1]; case kSharding: return createStringData("SHARDING"); case kStorage: return createStringData("STORAGE "); case kJournal: return createStringData("JOURNAL "); - case kWrites: return createStringData("WRITE "); + case kWrite: return createStringData("WRITE "); case kNumLogComponents: return createStringData("TOTAL "); // No default. Compiler should complain if there's a log component that's not handled. } diff --git a/src/mongo/logger/log_component.h b/src/mongo/logger/log_component.h index 655ac05f1a2..5ccd9ada003 100644 --- a/src/mongo/logger/log_component.h +++ b/src/mongo/logger/log_component.h @@ -55,7 +55,7 @@ namespace logger { kSharding, kStorage, kJournal, - kWrites, + kWrite, kNumLogComponents }; |