Update CrownLabs operators SDKs #4656
Annotations
10 errors and 4 warnings
Check linting:
operators/pkg/instctrl/virtualmachines.go#L90
uncheckedInlineErr: err error is unchecked, maybe intended to check it instead of client.IgnoreNotFound(err) (gocritic)
|
Check linting:
operators/pkg/forge/ingresses.go#L36
G101: Potential hardcoded credentials (gosec)
|
Check linting:
operators/api/v1alpha2/groupversion_info.go#L22
import 'k8s.io/apimachinery/pkg/runtime/schema' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/groupversion_info.go#L23
import 'sigs.k8s.io/controller-runtime/pkg/scheme' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/instance_types.go#L18
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/instancesnapshot_types.go#L18
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/template_types.go#L18
import 'k8s.io/apimachinery/pkg/api/resource' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/template_types.go#L19
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/tenant_types.go#L18
import 'k8s.io/apimachinery/pkg/api/resource' is not allowed from list 'Main' (depguard)
|
Check linting:
operators/api/v1alpha2/tenant_types.go#L20
import 'sigs.k8s.io/controller-runtime' is not allowed from list 'Main' (depguard)
|
Setup Go
Restore cache failed: Dependencies file is not found in /home/runner/work/CrownLabs/CrownLabs. Supported file pattern: go.sum
|
Check linting:
operators/pkg/forge/containers.go#L243
unused-parameter: parameter 'instance' seems to be unused, consider removing or renaming it as _ (revive)
|
Check linting:
operators/pkg/instmetrics/server.go#L72
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check linting:
operators/pkg/instctrl/exposition.go#L129
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Loading