From 74f553c3542f7e30073d83265808805a3e28bbe9 Mon Sep 17 00:00:00 2001 From: rosstimothy <39066650+rosstimothy@users.noreply.github.com> Date: Thu, 9 Dec 2021 13:11:18 -0500 Subject: [PATCH] Fix panic running TestIntegration/RotateChangeSigningAlg (#9316) --- lib/auth/rotate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth/rotate.go b/lib/auth/rotate.go index 2b285dc26bf41..ee73c06a9c9de 100644 --- a/lib/auth/rotate.go +++ b/lib/auth/rotate.go @@ -650,7 +650,7 @@ func completeRotation(clock clockwork.Clock, ca types.CertAuthority) { rotation.Started = time.Time{} rotation.State = types.RotationStateStandby rotation.Phase = types.RotationPhaseStandby - rotation.LastRotated = clock.Now() + rotation.LastRotated = clock.Now().UTC() rotation.Mode = "" rotation.Schedule = types.RotationSchedule{} ca.SetRotation(rotation)