Commit 39c5d6b9 authored by Matthew Holt's avatar Matthew Holt

caddytls: Remove repeated variable declaration

parent 0c69e9ed
...@@ -445,5 +445,3 @@ func loadCertsInDir(cfg *Config, c *caddy.Controller, dir string) error { ...@@ -445,5 +445,3 @@ func loadCertsInDir(cfg *Config, c *caddy.Controller, dir string) error {
func constructDefaultClusterPlugin() (certmagic.Storage, error) { func constructDefaultClusterPlugin() (certmagic.Storage, error) {
return &certmagic.FileStorage{Path: caddy.AssetsPath()}, nil return &certmagic.FileStorage{Path: caddy.AssetsPath()}, nil
} }
var clusterPluginSetup int32 // access atomically
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment