fix: refactor postgres after api updates
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 12s
CI Workflow / CI (pull_request) Failing after 30s
Publish / Check GoReleaser config (pull_request) Has been skipped
CI Workflow / Code coverage report (pull_request) Has been skipped
Publish / Publish provider (pull_request) Has been skipped

This commit is contained in:
Marcel S. Henselin 2026-01-30 11:58:26 +01:00
parent 32b83a0836
commit 764978db88
6 changed files with 52 additions and 16 deletions

View file

@ -56,7 +56,7 @@ func getDatabase(
const pageSize = 25
for page := int64(1); ; page++ {
for page := int32(1); ; page++ {
res, err := client.ListDatabasesRequest(ctx, projectId, region, instanceId).
Page(page).Size(pageSize).Sort(postgresflex.DATABASESORT_INDEX_ASC).Execute()
if err != nil {