mirror of
https://github.com/caddyserver/caddy.git
synced 2026-01-16 17:20:34 +00:00
go.mod: Upgrade CertMagic to v0.16.0
Includes several breaking changes; code base updated accordingly. - Added lots of context arguments - Use fs.ErrNotExist - Rename ACMEManager -> ACMEIssuer; CertificateManager -> Manager
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
package caddy
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"os/signal"
|
||||
|
||||
@@ -55,7 +56,7 @@ func trapSignalsCrossPlatform() {
|
||||
// exitProcessFromSignal exits the process from a system signal.
|
||||
func exitProcessFromSignal(sigName string) {
|
||||
logger := Log().With(zap.String("signal", sigName))
|
||||
exitProcess(logger)
|
||||
exitProcess(context.TODO(), logger)
|
||||
}
|
||||
|
||||
// Exit codes. Generally, you should NOT
|
||||
|
||||
Reference in New Issue
Block a user