aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-08-05 13:54:15 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-08-05 13:54:15 -0400
commitc7ce724155b46c21c53b8509f83ef2876704dd3a (patch)
treedc232d74b835153ea278c247cc564ffab1103679
parenta11dbcb8d9ab7f7adcb7fdb158a706753ef2c5a0 (diff)
downloadkorg-helpers-c7ce724155b46c21c53b8509f83ef2876704dd3a.tar.gz
Use list_all_devices to avoid pagination
We always want all devices, regardless of how many pages we get back. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-xstable-builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stable-builder.py b/stable-builder.py
index 6afe5a1..d595ca1 100755
--- a/stable-builder.py
+++ b/stable-builder.py
@@ -39,7 +39,7 @@ def print_ips(device, user):
def get_builder(manager, project_id, hostname):
- for device in manager.list_devices(project_id=project_id):
+ for device in manager.list_all_devices(project_id=project_id):
if device.hostname == hostname:
return device