From 109d44b113fcd907490e4a53b89b98a9830582a3 Mon Sep 17 00:00:00 2001 From: Tom Lebreux Date: Wed, 1 May 2024 23:02:16 -0400 Subject: [PATCH] Remove unused function --- config.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config.go b/config.go index cc2fb44..00e8d6e 100644 --- a/config.go +++ b/config.go @@ -253,17 +253,6 @@ func parseBackend(backend *Backend, cfg *backendConfig) error { return nil } -func parseFrontendTLS(srv *Server, d *scfg.Directive) (unmanaged bool, err error) { - for _, child := range d.Children { - switch child.Name { - case "load": - default: - return false, fmt.Errorf("unknown %q directive", child.Name) - } - } - return unmanaged, nil -} - func parseTLSOnDemand(srv *Server, cfg *tlsOnDemandConfig) error { if srv.ACMEConfig.OnDemand == nil { srv.ACMEConfig.OnDemand = &certmagic.OnDemandConfig{}