~emersion/public-inbox

tlstunnel: Remove unused function v1 APPLIED

Tom Lebreux: 1
 Remove unused function

 1 files changed, 0 insertions(+), 11 deletions(-)
#1210197 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/51516/mbox | git am -3
Learn more about email & git

[PATCH tlstunnel] Remove unused function Export this patch

---
 config.go | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/config.go b/config.go
index cc2fb4487f65..00e8d6ea24e6 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{}
-- 
2.44.0
Pushed, thanks!
tlstunnel/patches/.build.yml: SUCCESS in 30s

[Remove unused function][0] from [Tom Lebreux][1]

[0]: https://lists.sr.ht/~emersion/public-inbox/patches/51516
[1]: mailto:me@tomlebreux.com

✓ #1210197 SUCCESS tlstunnel/patches/.build.yml https://builds.sr.ht/~emersion/job/1210197