Implement the base setup for trats resources Kubernetes controllers #31
Annotations
10 errors and 1 warning
service/tratcontroller/pkg/apis/tratteria/register.go#L19
Comment should end in a period (godot)
|
service/tratcontroller/pkg/apis/tratteria/v1alpha1/register.go#L27
Comment should end in a period (godot)
|
service/tratcontroller/pkg/apis/tratteria/v1alpha1/register.go#L30
Comment should end in a period (godot)
|
service/tratcontroller/controller.go#L151
`(*Controller).syncHandler` - `ctx` is unused (unparam)
|
service/tratcontroller/controller.go#L157
error is not nil (line 152) but it returns nil (nilerr)
|
service/tratcontroller/pkg/apis/tratteria/v1alpha1/register.go#L54
return with no blank line before (nlreturn)
|
service/tratcontroller/pkg/signals/signal.go#L35
only cuddled expressions if assigning variable or using from line above (wsl)
|
service/tratcontroller/pkg/signals/signal.go#L36
only one cuddle assignment allowed before go statement (wsl)
|
service/tratcontroller/controller.go#L193
declarations should never be cuddled (wsl)
|
service/tratcontroller/controller.go#L194
only one cuddle assignment allowed before if statement (wsl)
|
|
This job failed
Loading