diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2021-02-16 01:15:53 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-18 04:03:22 +0000 |
commit | fad9de4ece9f5399acc804f206e40621930be5af (patch) | |
tree | 0a1dd3202e0d8ad0cc93a58c03d3519fba2abd23 /src/mongo/db/matcher/schema/json_schema_parser.cpp | |
parent | 61df6d3c9a0a6658613d2ef9bcfb28bd14224acf (diff) | |
download | mongo-fad9de4ece9f5399acc804f206e40621930be5af.tar.gz |
SERVER-54596 remove 1-arg shouldLog function (an ODR violation)
Diffstat (limited to 'src/mongo/db/matcher/schema/json_schema_parser.cpp')
-rw-r--r-- | src/mongo/db/matcher/schema/json_schema_parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/schema/json_schema_parser.cpp b/src/mongo/db/matcher/schema/json_schema_parser.cpp index c972c05c602..df73cced7a7 100644 --- a/src/mongo/db/matcher/schema/json_schema_parser.cpp +++ b/src/mongo/db/matcher/schema/json_schema_parser.cpp @@ -1870,7 +1870,8 @@ StatusWithMatchExpression JSONSchemaParser::parse( "schema"_attr = schema.jsonString(JsonStringFormat::LegacyStrict)); try { auto translation = _parse(expCtx, ""_sd, schema, allowedFeatures, ignoreUnknownKeywords); - if (shouldLog(logv2::LogSeverity::Debug(5)) && translation.isOK()) { + if (shouldLog(MONGO_LOGV2_DEFAULT_COMPONENT, logv2::LogSeverity::Debug(5)) && + translation.isOK()) { LOGV2_DEBUG(20729, 5, "Translated schema match expression: {expression}", |