Skip to content

Commit

Permalink
Fix panic running TestIntegration/RotateChangeSigningAlg (#9316)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosstimothy authored Dec 9, 2021
1 parent 4e3f795 commit 74f553c
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 74f553c

Please sign in to comment.