summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/private
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2020-03-27 09:46:44 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-27 14:17:48 +0000
commitac70762faba7453831782a7681618e3560659eac (patch)
treea6c8d4d75f33d3c385ca809d7f289682ff1a48c8 /src/mongo/util/net/private
parentacc824bf085f1c255578e5e48f5e8d337ef84402 (diff)
downloadmongo-ac70762faba7453831782a7681618e3560659eac.tar.gz
Revert "SERVER-46950 Add message-strings for TLS"
This reverts commit 81885344c49450f1618d056543ff35a05440324e.
Diffstat (limited to 'src/mongo/util/net/private')
-rw-r--r--src/mongo/util/net/private/ssl_expiration.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/util/net/private/ssl_expiration.cpp b/src/mongo/util/net/private/ssl_expiration.cpp
index 9bdcc797cec..5f37d67d2f1 100644
--- a/src/mongo/util/net/private/ssl_expiration.cpp
+++ b/src/mongo/util/net/private/ssl_expiration.cpp
@@ -60,7 +60,6 @@ void CertificateExpirationMonitor::taskDoWork() {
// The certificate has expired.
LOGV2_WARNING(23785,
"Server certificate is now invalid. It expired on {certExpiration}",
- "Server certificate has expired",
"certExpiration"_attr = dateToISOStringUTC(_certExpiration));
return;
}
@@ -72,9 +71,8 @@ void CertificateExpirationMonitor::taskDoWork() {
LOGV2_WARNING(23786,
"Server certificate will expire on {certExpiration} in "
"{validDuration}.",
- "Server certificate will expire soon",
"certExpiration"_attr = dateToISOStringUTC(_certExpiration),
- "validDuration"_attr = durationCount<Hours>(remainingValidDuration));
+ "validDuration"_attr = durationCount<Hours>(remainingValidDuration) / 24);
}
}