Skip to content

Add unit tests for Controlsvc #2267

Add unit tests for Controlsvc

Add unit tests for Controlsvc #2267

Triggered via pull request September 19, 2023 22:25
Status Failure
Total duration 6m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pull_request.yml

on: pull_request
Matrix: receptor
lint-receptor
24s
lint-receptor
lint-receptorctl
17s
lint-receptorctl
container
4m 4s
container
Matrix: receptorctl
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
lint-receptor: pkg/controlsvc/controlsvc.go#L101
Comment should end in a period (godot)
lint-receptor: pkg/controlsvc/controlsvc.go#L109
return with no blank line before (nlreturn)
lint-receptor: pkg/controlsvc/controlsvc.go#L220
return with no blank line before (nlreturn)
lint-receptor: pkg/controlsvc/controlsvc.go#L225
return with no blank line before (nlreturn)
lint-receptor
issues found
container
Process completed with exit code 255.
receptor (Go 1.20)
Process completed with exit code 2.
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.19)
Process completed with exit code 2.
lint-receptor: pkg/controlsvc/controlsvc.go#L76
var-naming: type Tls should be TLS (revive)
lint-receptor: pkg/controlsvc/controlsvc.go#L161
var-naming: struct field serverTls should be serverTLS (revive)
lint-receptor: pkg/controlsvc/controlsvc.go#L193
var-naming: method SetServerTls should be SetServerTLS (revive)
receptor (Go 1.20)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2