mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-19 10:47:13 +00:00
Bump Go versions for Travis, fix tests
Replace gometalinter with golangci-lint. Fix system tests (wheezy is gone, replace with stretch). Fix linter warnings.
This commit is contained in:
1 parent
e2d6a53de5
commit
2c91bcdc30
116 files changed
+1503
-1067
No files matched your search
@@ -47,7 +47,7 @@ func TLSListeners(unsetEnv bool, tlsConfig *tls.Config) ([]net.Listener, error)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if tlsConfig != nil && err == nil {
|
||||
if tlsConfig != nil {
|
||||
for i, l := range listeners {
|
||||
// Activate TLS only for TCP sockets
|
||||
if l.Addr().Network() == "tcp" {
|
||||
|
||||
Reference in new issue
Block a user