caddytls: Pointer receiver (fix #6885)

pull/6889/head v2.10.0-beta.2
Matthew Holt 2025-03-08 14:18:54 -07:00
parent f4432a306a
commit d57ab215a2
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ func (ECHDNSPublisher) CaddyModule() caddy.ModuleInfo {
} }
} }
func (dnsPub ECHDNSPublisher) Provision(ctx caddy.Context) error { func (dnsPub *ECHDNSPublisher) Provision(ctx caddy.Context) error {
dnsProvMod, err := ctx.LoadModule(dnsPub, "ProviderRaw") dnsProvMod, err := ctx.LoadModule(dnsPub, "ProviderRaw")
if err != nil { if err != nil {
return fmt.Errorf("loading ECH DNS provider module: %v", err) return fmt.Errorf("loading ECH DNS provider module: %v", err)