diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-08-05 13:54:15 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-08-05 13:54:15 -0400 |
commit | c7ce724155b46c21c53b8509f83ef2876704dd3a (patch) | |
tree | dc232d74b835153ea278c247cc564ffab1103679 | |
parent | a11dbcb8d9ab7f7adcb7fdb158a706753ef2c5a0 (diff) | |
download | korg-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-x | stable-builder.py | 2 |
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 |