Fixes incompatibility in paginated_get with Sensu API version 1.3 and earlier.
Motivation and Context
Sensu 1.4 added support for pagination of API requests using query string parameters.
Sensu Plugin 2.6.0 added paginated_get method for paginating API requests.
When querying Sensu API version 1.3 or earlier, the paginated_get implementation in sensu-plugin 2.6.0 will potentially block forever, falsely iterating over the same data set.
How Has This Been Tested?
Tested against versions 1.3 and 1.4 of Sensu API
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have updated the Changelog following the conventions laid out on Keep A Changelog
Description
Fixes incompatibility in
paginated_get
with Sensu API version 1.3 and earlier.Motivation and Context
Sensu 1.4 added support for pagination of API requests using query string parameters.
Sensu Plugin 2.6.0 added
paginated_get
method for paginating API requests.When querying Sensu API version 1.3 or earlier, the paginated_get implementation in sensu-plugin 2.6.0 will potentially block forever, falsely iterating over the same data set.
How Has This Been Tested?
Tested against versions 1.3 and 1.4 of Sensu API
Types of changes
Checklist:
Known Caveats
None.