uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

fix: set the default page to be 1 so that pagination works properly #228

Closed shreddedbacon closed 1 year ago

shreddedbacon commented 1 year ago

Checklist

The harbor client library used doesn't set a default page number to start with so assumes 0. This results in the library not properly iterating over the pages and not returning all the robot accounts. This corrects the bug by setting the default page number to be 1