mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-28 06:40:01 +08: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:
@ -480,7 +480,7 @@ func (app *App) createAutomationPolicies(ctx caddy.Context, internalNames []stri
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ap.Managers = []certmagic.CertificateManager{ts}
|
||||
ap.Managers = []certmagic.Manager{ts}
|
||||
}
|
||||
|
||||
// while we're here, is this the catch-all/base policy?
|
||||
@ -497,7 +497,7 @@ func (app *App) createAutomationPolicies(ctx caddy.Context, internalNames []stri
|
||||
return err
|
||||
}
|
||||
basePolicy = &caddytls.AutomationPolicy{
|
||||
Managers: []certmagic.CertificateManager{ts},
|
||||
Managers: []certmagic.Manager{ts},
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user