Skip to content

fix: Set GCPMachinepoolMachine.Status.LatestModelApplied to false if some labels applied to node are not same as expected #107

fix: Set GCPMachinepoolMachine.Status.LatestModelApplied to false if some labels applied to node are not same as expected

fix: Set GCPMachinepoolMachine.Status.LatestModelApplied to false if some labels applied to node are not same as expected #107

Triggered via pull request June 28, 2024 16:04
Status Failure
Total duration 2m 19s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: cloud/scope/machinepoolmachine.go#L349
(*MachinePoolMachineScope).doesNotHaveAdditionalLabelsDiff - result 1 (error) is always nil (unparam)
lint: cloud/services/compute/instancegroups/instancegroups.go#L145
fmt.Errorf can be replaced with errors.New (perfsprint)
lint: cloud/services/compute/instancegroups/instancegroups.go#L259
fmt.Errorf can be replaced with errors.New (perfsprint)
lint: cloud/scope/machinepoolmachine.go#L358
fmt.Sprintf can be replaced with string concatenation (perfsprint)
lint: cloud/scope/machinepool_test.go#L62
fmt.Sprintf can be replaced with string concatenation (perfsprint)
lint: cloud/scope/machinepoolmachine.go#L308
assigned to image, but reassigned without using the value (wastedassign)
lint
issues found