summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-10-11 13:38:40 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-10-11 13:38:40 -0400
commit6114e241de404f6415a5a79b5e736ff96c190dd6 (patch)
tree461ae109d52c6df247e08742f8e2ed4b6e7b108f
parentf5c75a5b6a00c9bb4fcce0ccb6c1203dda321168 (diff)
downloadmongo-6114e241de404f6415a5a79b5e736ff96c190dd6.tar.gz
SERVER-37058: Fix lint
-rw-r--r--src/mongo/db/update_index_data.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/update_index_data.cpp b/src/mongo/db/update_index_data.cpp
index 4fa317cc86b..ade76f0c50d 100644
--- a/src/mongo/db/update_index_data.cpp
+++ b/src/mongo/db/update_index_data.cpp
@@ -167,7 +167,8 @@ bool getCanonicalIndexField(StringData fullName, string* out) {
// The second set of digits may end at the end of the path or a '.'.
if (k == fullName.size() || fullName[k] == '.') {
// Found consecutive numerical path components. Since this implies a numeric
- // field name, return the prefix as the canonical index field. This is meant to fix SERVER-37058.
+ // field name, return the prefix as the canonical index field. This is meant to
+ // fix SERVER-37058.
modified = true;
break;
}