pteich / caddy-tlsconsul

🔒 Consul K/V storage for Caddy Web Server / Certmagic TLS data
Apache License 2.0
98 stars 18 forks source link

Update locker implementation; add context support #10

Closed mholt closed 4 years ago

mholt commented 4 years ago

CertMagic 0.11.0 adds a context parameter to Lock so that it can be cancelled. This is a slight breaking change, but is important for dynamic configurations.

More info: caddyserver/certmagic#66

Here's the fix. :)