Skip to content

Add unit tests for NodePool related functions #334

Add unit tests for NodePool related functions

Add unit tests for NodePool related functions #334

Triggered via pull request August 21, 2024 19:23
Status Failure
Total duration 2m 0s
Artifacts

check-pull-request.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Lint: internal/controllers/clusterrequest_controller_test.go#L1836
paramTypeCombine: func(name, bmcAddress, bmcSecret, mac, groupName string, namespace string, npName string) *hwv1alpha1.Node could be replaced with func(name, bmcAddress, bmcSecret, mac, groupName, namespace, npName string) *hwv1alpha1.Node (gocritic)
Lint: internal/controllers/clusterrequest_controller_test.go#L1887
paramTypeCombine: func(c client.Client, ctx context.Context, nodes []*hwv1alpha1.Node, mhost string, whost string) could be replaced with func(c client.Client, ctx context.Context, nodes []*hwv1alpha1.Node, mhost, whost string) (gocritic)
Lint
issues found