bazel
bazel copied to clipboard
[7.4.0] Fix cache duration computation in CredentialCacheExpiry.
Also use the supplied current time instead of calling Instant.now().
I don't know how to meaningfully test this; there's so little going on that the test would essentially mirror the implementation.
Fixes #23429.
PiperOrigin-RevId: 668351088 Change-Id: I12f1575e5280330c61361e4cf1b7d9f9231f16eb
Commit https://github.com/bazelbuild/bazel/commit/5209ce7587d4f8da37d7492d91d0aac1b91ab249