Don't inline factory

This commit is contained in:
Jeff Mitchell 2016-03-11 17:02:44 -05:00
parent 92088f06e4
commit ca40e06f5d

View file

@ -87,9 +87,10 @@ func listenerWrapTLS(
ln = tls.NewListener(ln, tlsConf)
props["tls"] = "enabled"
return ln, props, func() (string, ReloadFunc) {
reloadFac := func() (string, ReloadFunc) {
return cg.id, cg.reload
}, nil
}
return ln, props, reloadFac, nil
}
type certificateGetter struct {