Skip to content

Commit

Permalink
Remove Recursive Function call (#14)
Browse files Browse the repository at this point in the history
Removing recursive call to list_protected_assets that appears to break functionality
  • Loading branch information
Michael LoPresti committed Sep 11, 2023
1 parent 0872f74 commit 2eaec2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dome9/dome9.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ def list_protected_assets(self, textSearch="", filters=[], pageSize=1000):
rsp = self._post(route='protected-asset/search', payload=pagination)
results = rsp

self.list_protected_assets()

while rsp['searchAfter']:
pagination['searchAfter'] = rsp['searchAfter']
rsp = self._post(route='protected-asset/search',
Expand Down

0 comments on commit 2eaec2c

Please sign in to comment.