aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-06-16 11:26:05 +0000
committerTibor Frank <tifrank@cisco.com>2023-06-16 11:26:05 +0000
commite5ce7351f3ef20c564fa428aca81255a53c662c4 (patch)
tree5ae7153063427417ff1df0cfb385c0086f87333a /csit.infra.dash
parent617d471235832515391ef6376de69710ba2a9277 (diff)
C-Dash: Fix url processing in trending
Change-Id: Ie14fb4ff5a193fa4f4edc097aaa1a87269c3d9ea Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash')
-rw-r--r--csit.infra.dash/app/cdash/trending/layout.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/csit.infra.dash/app/cdash/trending/layout.py b/csit.infra.dash/app/cdash/trending/layout.py
index 09f857e9f2..409038acef 100644
--- a/csit.infra.dash/app/cdash/trending/layout.py
+++ b/csit.infra.dash/app/cdash/trending/layout.py
@@ -1452,6 +1452,10 @@ class Layout:
if not end_idx:
plotting_area_telemetry = C.PLACEHOLDER
elif on_draw[1] and (end_idx >= start_idx):
+ if len(tm_all_in_one) != end_idx:
+ tm_all_in_one = [[None], ] * end_idx
+ if len(tm_ignore_host) != end_idx:
+ tm_ignore_host = [[None], ] * end_idx
for idx in range(start_idx, end_idx):
store["telemetry-graphs"].append(graph_tm_trending(
tm.select_tm_trending_data(