Skip to content

Commit

Permalink
Switch deprecated API route to retrieve worker statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed Jul 24, 2023
1 parent 130f9f5 commit a2a5824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/elastic_build_service_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def fetch_metrics(elastic_build_hosts, job_status):
osc.conf.get_config()
api = osc.conf.config['apiurl']

apitest = osc.core.http_GET(api + '/build/_workerstatus')
apitest = osc.core.http_GET(api + '/worker/_status')
dom = minidom.parseString(apitest.read())

# store all idle workers
Expand Down

0 comments on commit a2a5824

Please sign in to comment.