summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-03-25 11:28:54 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2022-03-25 11:28:54 -0600
commitd06d0e79f839a26ab2cf81b00ba2d180623c57a9 (patch)
treec215c3c16ad9280df4721b53460bd36aa5893489 /modules/caddyhttp
parenta58f240d3ecbb59285303746406cab50217f8d24 (diff)
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
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r--modules/caddyhttp/autohttps.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/autohttps.go b/modules/caddyhttp/autohttps.go
index eb66114..f1d99ce 100644
--- a/modules/caddyhttp/autohttps.go
+++ b/modules/caddyhttp/autohttps.go
@@ -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},
}
}