Service flavor implementation #137
Annotations
10 errors and 11 warnings
pkg/rear-controller/grpc/service.go#L52
appendAssign: append result not assigned to the same slice (gocritic)
|
pkg/rear-controller/grpc/service.go#L127
line is 170 characters (lll)
|
pkg/rear-controller/grpc/service.go#L205
line is 177 characters (lll)
|
pkg/rear-controller/grpc/service.go#L228
line is 162 characters (lll)
|
apis/nodecore/v1alpha1/service_blueprint.go#L27
Comment should end in a period (godot)
|
apis/nodecore/v1alpha1/service_blueprint.go#L59
Comment should end in a period (godot)
|
apis/nodecore/v1alpha1/service_blueprint.go#L97
Comment should end in a period (godot)
|
apis/nodecore/v1alpha1/service_blueprint.go#L120
Comment should end in a period (godot)
|
apis/nodecore/v1alpha1/service_blueprint.go#L148
Comment should end in a period (godot)
|
apis/nodecore/v1alpha1/allocation_types.go#L65
line is 157 characters (lll)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
pkg/utils/models/flavor-vm-models.go#L19
exported: exported type VMSelector should have comment or be unexported (revive)
|
pkg/utils/models/flavor-sensor-models.go#L19
exported: exported type SensorSelector should have comment or be unexported (revive)
|
pkg/utils/parseutil/parseutil.go#L456
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
pkg/utils/common/common.go#L269
unused-parameter: parameter 'vmSelector' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/utils/common/common.go#L276
unused-parameter: parameter 'sensorSelector' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/utils/resourceforge/forge.go#L642
exported: exported function ForgeConfigurationObj should have comment or be unexported (revive)
|
pkg/utils/resourceforge/forge.go#L1215
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
pkg/utils/resourceforge/forge.go#L1239
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
pkg/utils/resourceforge/forge.go#L1258
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
pkg/local-resource-manager/serviceblueprint_controller.go#L41
exported: comment on exported type ServiceBlueprintReconciler should be of the form "ServiceBlueprintReconciler ..." (with optional leading article) (revive)
|
This job failed
Loading