Skip to content

Commit

Permalink
Fix panic running TestIntegration/RotateChangeSigningAlg
Browse files Browse the repository at this point in the history
backport of #9316
  • Loading branch information
rosstimothy committed Jan 31, 2022
1 parent ed3e7e9 commit 8253454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/rotate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8253454

Please sign in to comment.