Merge pull request #6114 from squidboylan/fix_collection

Fix job_list all_pages next value

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-02-27 20:58:43 +00:00 committed by GitHub
commit e971ec993b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,7 @@ class TowerModule(AnsibleModule):
next_response = self.get_endpoint(next_page)
response['json']['results'] = response['json']['results'] + next_response['json']['results']
next_page = next_response['json']['next']
response['json']['next'] = next_page
return response
def get_one(self, endpoint, *args, **kwargs):