Skip to content

Commit 1c132f4

Browse files
1 parent b512ab6 commit 1c132f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/clusterfuzz/_internal/cron/schedule_fuzz.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ def count_unacked(creds, project_id, subscription_id):
6666
for result in results:
6767
if len(result.points) == 0:
6868
continue
69-
result = int(result.points[0].value.int64_value)
69+
size = int(result.points[0].value.int64_value)
7070
logs.info(f'Unacked in {subscription_id}: {result}')
71-
return result
71+
return size
72+
return 0
7273

7374

7475
def get_available_cpus_for_region(creds, project: str, region: str) -> int:

0 commit comments

Comments
 (0)