Skip to content

feat: check PG upgrade task before attempting to upgrade service #446

feat: check PG upgrade task before attempting to upgrade service

feat: check PG upgrade task before attempting to upgrade service #446

GitHub Actions / Trunk Check failed Feb 16, 2024 in 2m 19s

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

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint(gofumpt)

[new] File is not `gofumpt`-ed

Check failure on line 137 in controllers/postgresql_controller.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint(gofumpt)

[new] File is not `gofumpt`-ed

Check failure on line 146 in controllers/postgresql_controller.go

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint(errcheck)

[new] Error return value of `o.performUpgradeTask` is not checked