Skip to content

Commit 0468e2a

Browse files
committed
Correct a typo in pagination.
1 parent 1220e1a commit 0468e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apic-em_get_inventory_stats/apic-em_get_inventory_stats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def get_inventory(host, port, ticket, error):
192192
devs += j['response']
193193

194194
offset += limit
195-
if offset + limit >= count:
195+
if offset >= count:
196196
break
197197

198198
return devs

0 commit comments

Comments
 (0)