Implement Lease controller #30
lint.yaml
on: pull_request
lint-helm
10s
lint-go
1m 37s
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/
|