Skip to content

Implement the base setup for trats resources Kubernetes controllers #28

Implement the base setup for trats resources Kubernetes controllers

Implement the base setup for trats resources Kubernetes controllers #28

Triggered via pull request June 25, 2024 15:36
Status Failure
Total duration 28s
Billable time 1m
Artifacts

service-lint.yml

on: pull_request
Run golangci-lint on tconfigd Service
18s
Run golangci-lint on tconfigd Service
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run golangci-lint on tconfigd Service: service/tratcontroller/controller.go#L151
`(*Controller).syncHandler` - `ctx` is unused (unparam)
Run golangci-lint on tconfigd Service: service/tratcontroller/controller.go#L193
declarations should never be cuddled (wsl)
Run golangci-lint on tconfigd Service: service/tratcontroller/controller.go#L194
only one cuddle assignment allowed before if statement (wsl)
Run golangci-lint on tconfigd Service: service/tratcontroller/controller.go#L157
error is not nil (line 152) but it returns nil (nilerr)
Run golangci-lint on tconfigd Service: service/tratcontroller/pkg/apis/tratteria/v1alpha1/register.go#L54
return statements should not be cuddled if block has more than two lines (wsl)
Run golangci-lint on tconfigd Service: service/tratcontroller/pkg/signals/signal.go#L35
only cuddled expressions if assigning variable or using from line above (wsl)
Run golangci-lint on tconfigd Service: service/tratcontroller/pkg/signals/signal.go#L36
only one cuddle assignment allowed before go statement (wsl)
Run golangci-lint on tconfigd Service
Restore cache failed: Dependencies file is not found in /home/runner/work/tconfigd/tconfigd. Supported file pattern: go.sum