Revert "[Dashboard] Turn on New Dashboard by Default (#11321)" (#11502)

This reverts commit f500292d41.
This commit is contained in:
Max Fitton
2020-10-20 10:53:10 -05:00
committed by GitHub
parent cbc5dac6c4
commit cdca5af53b
15 changed files with 814 additions and 123 deletions
+5 -3
View File
@@ -111,13 +111,15 @@ class DataOrganizer:
node_physical_stats = DataSource.node_physical_stats.get(node_id, {})
node_stats = DataSource.node_stats.get(node_id, {})
node = DataSource.nodes.get(node_id, {})
node_ip = DataSource.node_id_to_ip.get(node_id)
# Merge node log count information into the payload
log_info = DataSource.ip_and_pid_to_logs.get(node_ip, {})
log_info = DataSource.ip_and_pid_to_logs.get(node_physical_stats["ip"],
{})
node_log_count = 0
for entries in log_info.values():
node_log_count += len(entries)
error_info = DataSource.ip_and_pid_to_errors.get(node_ip, {})
error_info = DataSource.ip_and_pid_to_errors.get(
node_physical_stats["ip"], {})
node_err_count = 0
for entries in error_info.values():
node_err_count += len(entries)