Skip to content

Commit 6f6d99d

Browse files
committed
Fix pageination handling.
1 parent 838cdb3 commit 6f6d99d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

agents/plugins/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def components(self, type, metrics):
5252
if v
5353
})
5454
yield node
55-
if not data[type]['pageInfo']['hasNextPage']:
55+
if not data[type]['pageInfo']['hasNextPage'] or data[type]['pageInfo']['endCursor'] is None:
5656
return
5757
start = data[type]['pageInfo']['endCursor']
5858

package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
'name': 'vector',
1919
'title': u'Vector agent plugin and check',
20-
'version': '2.4.0',
20+
'version': '2.4.1',
2121
'version.min_required': '2.4.0',
2222
'version.packaged': '2.4.0',
2323
'version.usable_until': '2.5.0'

0 commit comments

Comments
 (0)