From 0adf7a4b9c0bf61c498f99298aa16b7be32012a5 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: May 23 2023 03:50:39 +0000 Subject: return channels in getLoadData --- diff --git a/kojihub/kojihub.py b/kojihub/kojihub.py index b0dca24..d7de5c2 100644 --- a/kojihub/kojihub.py +++ b/kojihub/kojihub.py @@ -14196,6 +14196,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]