build: replace the deprecated golint linter with revive
This fixes up a small number of new lint items also
This commit is contained in:
parent
167406bc68
commit
a98e3ea6f1
7 changed files with 7 additions and 7 deletions
|
@ -124,7 +124,7 @@ func NewServer(listeners, tlsListeners []net.Listener, opt Options) (Server, err
|
|||
}
|
||||
|
||||
// Prepare TLS config
|
||||
var tlsConfig *tls.Config = nil
|
||||
var tlsConfig *tls.Config
|
||||
|
||||
useSSL := useSSL(opt)
|
||||
if (opt.SslCert != "") != useSSL {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue