Skip to content

Commit

Permalink
Fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
Negashev committed Mar 22, 2024
1 parent c934f27 commit 4b657c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rancher-vcloud-director-node-driver-ui-plugin",
"version": "0.2.5",
"version": "0.2.6",
"private": false,
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion pkg/vcd-node-driver/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vcd-node-driver",
"description": "vCloud Director node-driver plugin for rancher",
"version": "0.2.5",
"version": "0.2.6",
"private": false,
"rancher": {
"annotations": {
Expand Down
2 changes: 0 additions & 2 deletions pkg/vcd-node-driver/vcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ export class Vcd {
page = res.page + 1;
res = await this.makeComputeRequest(api + '&page=' + page, domain);
totalResults[field] = totalResults[field].concat(res[field]);
console.log(totalResults);
loopPages = false;
} else {
loopPages = false;
}
Expand Down

0 comments on commit 4b657c0

Please sign in to comment.