Add Golangci lint, replace statik with embed and test swagger #2
Annotations
11 errors
Test
Process completed with exit code 1.
|
Lint:
api/events/event_handler_test.go#L107
Error return value of `(k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L53
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L66
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L67
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L78
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L107
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L114
Error return value of `(k8s.io/client-go/kubernetes/typed/core/v1.SecretInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L157
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L158
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|
Lint:
api/alerting/handler_test.go#L159
Error return value of `(github.com/equinor/radix-operator/pkg/client/clientset/versioned/typed/radix/v1.RadixAlertInterface).Create` is not checked (errcheck)
|