mirror of
https://git.sr.ht/~emersion/tlstunnel
synced 2024-11-19 15:53:50 +01:00
Drop extraneous log
This commit is contained in:
parent
c3623f6b38
commit
78349a6519
@ -17,8 +17,6 @@ import (
|
|||||||
"git.sr.ht/~emersion/go-scfg"
|
"git.sr.ht/~emersion/go-scfg"
|
||||||
"github.com/caddyserver/certmagic"
|
"github.com/caddyserver/certmagic"
|
||||||
"github.com/libdns/dnsupdate"
|
"github.com/libdns/dnsupdate"
|
||||||
|
|
||||||
"log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type serverConfig struct {
|
type serverConfig struct {
|
||||||
@ -66,7 +64,6 @@ func loadConfig(srv *Server, filename string) error {
|
|||||||
if err := scfg.NewDecoder(f).Decode(&cfg); err != nil {
|
if err := scfg.NewDecoder(f).Decode(&cfg); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Printf("%#v", cfg)
|
|
||||||
|
|
||||||
for _, feCfg := range cfg.Frontend {
|
for _, feCfg := range cfg.Frontend {
|
||||||
if err := parseFrontend(srv, &feCfg); err != nil {
|
if err := parseFrontend(srv, &feCfg); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user