We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c502346 commit 93a125bCopy full SHA for 93a125b
src/libmongoc/src/mongoc/mongoc-crypt.c
@@ -769,10 +769,10 @@ _try_add_azure_from_env (_mongoc_crypt_t *crypt,
769
mcd_time_point expires_at = mcd_later (crypt->azure_token_issued_at,
770
crypt->azure_token.expires_in);
771
if (mcd_time_compare (expires_at, one_min_from_now) >= 0) {
772
- // The token is still valid for another minute
+ // The token is still valid for at least another minute
773
} else {
774
- // The token is about to expire. Destroy it. We will then ask IMDS for
775
- // a new oen.
+ // The token will expire soon. Destroy it, and below we will below ask
+ // IMDS for a new one.
776
mcd_azure_access_token_destroy (&crypt->azure_token);
777
}
778
0 commit comments