Skip to content

Adding GCPMachinePool Functionality #1567

Adding GCPMachinePool Functionality

Adding GCPMachinePool Functionality #1567

Re-run triggered March 6, 2024 04:56
Status Failure
Total duration 3m 36s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
lint: cloud/const.go#L8
File is not `gofmt`-ed with `-s` (gofmt)
lint: cloud/scope/machinepool.go#L8
File is not `gofmt`-ed with `-s` (gofmt)
lint: exp/controllers/gcpmanagedmachinepool_controller.go#L202
func `getOwnerMachinePool` is unused (unused)
lint: cloud/scope/machinepool.go#L111
SA1019: pointer.StringPtr is deprecated: Use ptr.To instead. (staticcheck)
lint: cloud/scope/machinepool.go#L161
SA1019: pointer.StringPtr is deprecated: Use ptr.To instead. (staticcheck)
lint: cloud/scope/machinepool.go#L168
SA1019: pointer.StringPtr is deprecated: Use ptr.To instead. (staticcheck)
lint: cloud/scope/machinepool.go#L225
SA1019: pointer.Int64PtrDerefOr is deprecated: Use ptr.Deref instead. (staticcheck)
lint: cloud/scope/machinepool.go#L33
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: cloud/const.go#L1
package-comments: package comment should be of the form "Package cloud ..." (revive)
lint: cloud/scope/machinepool.go#L1
package-comments: package comment should be of the form "Package scope ..." (revive)
lint: exp/controllers/helpers.go#L55
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exp/controllers/helpers.go#L1
package-comments: package comment should be of the form "Package controllers ..." (revive)