Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Conversation

@milescrabill
Copy link
Contributor

No description provided.

@milescrabill milescrabill changed the title add NextToken paging to ASGs, fix misreporting # of ASGs Add NextToken paging to ASGs, fix misreporting # of ASGs Jul 1, 2015
@whd
Copy link
Member

whd commented Jul 1, 2015

I think the SDK might provide a higher level pagination facility that you could use (looking at aws/aws-sdk-go#247).

@milescrabill
Copy link
Contributor Author

re: that comment, fixed in #15

Miles Crabill added 2 commits July 5, 2015 15:03
* use-pagination:
  add comments
  using waitgroup (duh)
  initial version with counter for completed regions
@milescrabill milescrabill changed the title Add NextToken paging to ASGs, fix misreporting # of ASGs Add pagination, fix misreporting # of ASGs Jul 5, 2015
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the describe API call fails wg.Done() is never called and ch is never closed (likewise in AllInstances).

whd added a commit that referenced this pull request Jul 8, 2015
Add pagination, fix misreporting # of ASGs
@whd whd merged commit e4250fa into mozilla-services:master Jul 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants