letsencrypt / boulder

An ACME-based certificate authority, written in Go.
Mozilla Public License 2.0
5.16k stars 605 forks source link

cmd: Use non-deprecated clock.New #7517

Closed pgporada closed 4 months ago

pgporada commented 4 months ago

Switch from using the deprecated clock.Default() to clock.New(). Both return the same value of systemClock. This fixes a code deprecation warning in my editor.

For more details, see jmhodges/clock.