return channels in getLoadData

This commit is contained in:
Mike McLean 2023-03-17 17:37:19 -04:00 committed by Tomas Kopecek
parent 46af52c608
commit 4b2074feca

View file

@ -14242,6 +14242,7 @@ class Host(object):
This data is relatively small and the necessary load analysis is
relatively complex, so we let the host machines crunch it."""
host = get_host(self.id)
host['channels'] = [c['id'] for c in list_channels(hostID=self.id)]
tasks = scheduler.getTaskRuns(hostID=self.id)
return [[host], tasks]