diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-06-06 05:25:23 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-06-06 05:25:42 +0700 |
| commit | b1133f25df3ec38b503e1ea6129ea6b3397968bb (patch) | |
| tree | 53a2c6755c6a2e0d9ed13b84603e5b8bcd2e3ee0 /lib/dns/server.go | |
| parent | 8661178b08ce640d7c24aec8465802e4d5160e2a (diff) | |
| download | pakakeh.go-b1133f25df3ec38b503e1ea6129ea6b3397968bb.tar.xz | |
all: use default linter options
Diffstat (limited to 'lib/dns/server.go')
| -rw-r--r-- | lib/dns/server.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dns/server.go b/lib/dns/server.go index 01dfb00e..5e5910e0 100644 --- a/lib/dns/server.go +++ b/lib/dns/server.go @@ -136,7 +136,7 @@ func NewServer(opts *ServerOptions) (srv *Server, err error) { Certificates: []tls.Certificate{ cert, }, - InsecureSkipVerify: opts.TLSAllowInsecure, //nolint:gosec + InsecureSkipVerify: opts.TLSAllowInsecure, } } @@ -1021,7 +1021,6 @@ func (srv *Server) runUDPForwarder(isPrimary bool, tag, nameserver string, } } -//nolint: interfacer func (srv *Server) stopForwarder(isPrimary bool, fw Client) { if fw != nil { fw.Close() |
