Skip to content

Commit 0f30131

Browse files
when cursor is present no other query parameter allowed (#3)
1 parent 2ec98df commit 0f30131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/module_utils/jbossnetwork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def perform_search(session, url, validate_certs, params=None):
9494
# Provide parameters
9595
if nextCursor is not None:
9696
pagination_params.update({CURSOR_FIELD: nextCursor})
97-
params.pop(PAGE_SIZE_FIELD, None)
97+
params = {}
9898
else:
9999
pagination_params.update({PAGE_SIZE_FIELD: QUERY_PAGE_SIZE})
100100
params.pop(CURSOR_FIELD, None)

0 commit comments

Comments
 (0)