From 8a759433ebadff8b14d960c2ab775d4b8b245e98 Mon Sep 17 00:00:00 2001 From: Chris Green <34572557+cgreen12@users.noreply.github.com> Date: Sun, 9 Jun 2019 08:53:52 -0400 Subject: [PATCH] Show the info for dns nodes Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com> --- static/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index 6f4f361..6f1d49f 100644 --- a/static/index.html +++ b/static/index.html @@ -284,14 +284,16 @@ var main = function(timeout){ if ('dnsResults' in data) { var yoffset = 0; for (let checkedHost in data.dnsResults) { + let value = data.dnsResults[checkedHost]; dnsCheckNodes.push({ "label": checkedHost, "id": checkedHost, "x": 0, "y": 0, + _data: value, }); - for (let pod in data.dnsResults[checkedHost]) { - var podData = data.dnsResults[checkedHost][pod]; + for (let pod in value) { + var podData = value[pod]; var elapsed = 0; if ('response-time-ms' in podData) { elapsed = podData['response-time-ms'];