feat: check PG upgrade task before attempting to upgrade service #446
Trunk Check
Checked 11 modified files
✖ 4 new issues (2 auto-fixable)
Details
To reproduce and test locally, run:
trunk check
For help resolving these issues, see our docs on running on PRs or debugging Trunk Check
Annotations
Check failure on line 128 in controllers/postgresql_controller.go
github-actions / Trunk Check
golangci-lint(gofumpt)
[new] File is not `gofumpt`-ed
Check failure on line 137 in controllers/postgresql_controller.go
github-actions / Trunk Check
golangci-lint(gofumpt)
[new] File is not `gofumpt`-ed
Check failure on line 146 in controllers/postgresql_controller.go
github-actions / Trunk Check
golangci-lint(gomnd)
[new] mnd: Magic number: 10, in <argument> detected
Check failure on line 102 in controllers/generic_service_handler.go
github-actions / Trunk Check
golangci-lint(errcheck)
[new] Error return value of `o.performUpgradeTask` is not checked