Skip to content

Commit

Permalink
we need the service_id defined to get the speed test results
Browse files Browse the repository at this point in the history
  • Loading branch information
gergnz committed Jul 25, 2022
1 parent a95d181 commit 087d09d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions runforever.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,13 @@ def saveresults():

customer = abbportal.customer()

services = []
for service_type in customer['services']:
for service in customer['services'][service_type]:
service_id = service['service_id']
services.append((service_type, service_id))

if _settings['fttcsyncmonitor'] == 1:
services = []
for service_type in customer['services']:
for service in customer['services'][service_type]:
service_id = service['service_id']
services.append((service_type, service_id))

# get and populate all the line sync / dpu port status test results
tests = abbportal.tests(service_id)
Expand Down

0 comments on commit 087d09d

Please sign in to comment.