Skip to content

Implement Lease controller #30

Implement Lease controller

Implement Lease controller #30

Triggered via pull request August 20, 2024 15:41
Status Failure
Total duration 1m 46s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
lint-go: internal/controller/lease_controller.go#L73
`aquire` is a misspelling of `acquire` (misspell)
lint-go: internal/service/controller_service.go#L346
Consider pre-allocating `matchExpressions` (prealloc)
lint-go: internal/service/controller_service.go#L373
Consider pre-allocating `matchExpressions` (prealloc)
lint-go: internal/controller/lease_controller.go#L81
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
lint-go: internal/controller/lease_controller.go#L143
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
lint-go
Process completed with exit code 2.
lint-go
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-go
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/