From e97d4c9512ba9b1fa26dbd511c09d42840ebcf2c Mon Sep 17 00:00:00 2001 From: Peter Song Date: Wed, 7 Aug 2024 14:37:24 -0700 Subject: [PATCH] Fix core errors --- .../Core/Amazon.Runtime/Pipeline/RetryHandler/RetryPolicy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/Core/Amazon.Runtime/Pipeline/RetryHandler/RetryPolicy.cs b/sdk/src/Core/Amazon.Runtime/Pipeline/RetryHandler/RetryPolicy.cs index 18aedfea8a15..a2e0f5695cdd 100644 --- a/sdk/src/Core/Amazon.Runtime/Pipeline/RetryHandler/RetryPolicy.cs +++ b/sdk/src/Core/Amazon.Runtime/Pipeline/RetryHandler/RetryPolicy.cs @@ -453,7 +453,7 @@ private bool IsClockskew(IExecutionContext executionContext, Exception exception var absDiff = diff.Ticks < 0 ? -diff : diff; Logger.InfoFormat(clockSkewMessageFormat, - realNow, correctedNow, clientConfig.ClockOffset, serverTime, endpoint); + realNow, correctedNow, CorrectClockSkew.GetClockCorrectionForEndpoint(endpoint), serverTime, endpoint); // Always set the correction, for informational purposes CorrectClockSkew.SetClockCorrectionForEndpoint(endpoint, newCorrection);