Add unit tests for Controlsvc #2265
Annotations
7 errors and 4 warnings
pkg/controlsvc/controlsvc.go#L96
Comment should end in a period (godot)
|
pkg/controlsvc/controlsvc_test.go#L62
File is not `gofumpt`-ed (gofumpt)
|
pkg/controlsvc/controlsvc_test.go#L630
File is not `gofumpt`-ed (gofumpt)
|
pkg/controlsvc/controlsvc.go#L104
return with no blank line before (nlreturn)
|
pkg/controlsvc/controlsvc.go#L215
return with no blank line before (nlreturn)
|
pkg/controlsvc/controlsvc.go#L220
return with no blank line before (nlreturn)
|
|
pkg/controlsvc/controlsvc.go#L71
var-naming: type Tls should be TLS (revive)
|
pkg/controlsvc/controlsvc.go#L156
var-naming: struct field serverTls should be serverTLS (revive)
|
pkg/controlsvc/controlsvc.go#L188
var-naming: method SetServerTls should be SetServerTLS (revive)
|
pkg/controlsvc/controlsvc_test.go#L442
var-naming: don't use underscores in Go names; var mock_netceptor should be mockNetceptor (revive)
|
The logs for this run have expired and are no longer available.
Loading