Skip to content

Refactor MakeTLSConfig and support mTLS on server #1332

Refactor MakeTLSConfig and support mTLS on server

Refactor MakeTLSConfig and support mTLS on server #1332

Re-run triggered November 29, 2023 05:23
Status Failure
Total duration 1m 24s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Lint: internal/tools/tls_test.go#L300
copylocks: range var tc copies lock: struct{name string; config github.com/centrifugal/centrifugo/v5/internal/tools.testConfigGetter; prefix string; fsys testing/fstest.MapFS; expect crypto/tls.Config; errOK bool} contains crypto/tls.Config contains sync.RWMutex (govet)
Lint: internal/tools/tls_test.go#L301
copylocks: assignment copies lock value to tc: struct{name string; config github.com/centrifugal/centrifugo/v5/internal/tools.testConfigGetter; prefix string; fsys testing/fstest.MapFS; expect crypto/tls.Config; errOK bool} contains crypto/tls.Config contains sync.RWMutex (govet)
Lint
issues found