From 8005b7ab73c264ee3c1d7b10c39bc5565ef57c02 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 13 Dec 2019 15:36:00 -0700 Subject: Couple of quick fixes --- caddyconfig/httpcaddyfile/httptype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddyconfig/httpcaddyfile') diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 2db3e7c..2b2855d 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -203,7 +203,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock, if clVals, ok := sblock.pile["tls.certificate_loader"]; ok { for _, clVal := range clVals { loader := clVal.Value.(caddytls.CertificateLoader) - loaderName := caddy.GetModuleID(loader) + loaderName := caddy.GetModuleName(loader) tlsApp.CertificatesRaw[loaderName] = caddyconfig.JSON(loader, &warnings) } } -- cgit v1.2.3