Skip to content

Fix missing services - #40

Open
ghindle wants to merge 1 commit into
disaster37:developfrom
ghindle:activeServices
Open

Fix missing services#40
ghindle wants to merge 1 commit into
disaster37:developfrom
ghindle:activeServices

Conversation

@ghindle

@ghindle ghindle commented Aug 15, 2018

Copy link
Copy Markdown

I have an environment where we have ~250 services. The Cattle API list services endpoint has a default pagination limit of 100 when no filters are provided therefore a number of our services aren't being "found" and therefore not backed up.

By moving the filtering from the for loop and into the API call we a reduce the number of entries we need to compare, plus it appears to negate the limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant