From 84f1b0431860855be156446ac6335e034be5786c Mon Sep 17 00:00:00 2001 From: Sasha Zezulinsky <188990923+sasha-bitfly@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:13:54 +0000 Subject: [PATCH] view name changed --- backend/pkg/monitoring/services/clickhouse_epoch.go | 2 +- backend/pkg/monitoring/services/clickhouse_rollings.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/pkg/monitoring/services/clickhouse_epoch.go b/backend/pkg/monitoring/services/clickhouse_epoch.go index 96a3f30e8..2ee132461 100644 --- a/backend/pkg/monitoring/services/clickhouse_epoch.go +++ b/backend/pkg/monitoring/services/clickhouse_epoch.go @@ -49,7 +49,7 @@ func (s *ServiceClickhouseEpoch) runChecks() { ctx, cancel := context.WithTimeout(s.ctx, 15*time.Second) defer cancel() var t time.Time - err := db.ClickHouseReader.GetContext(ctx, &t, "SELECT MAX(t) FROM view_validator_dashboard_data_epoch_max_ts") + err := db.ClickHouseReader.GetContext(ctx, &t, "SELECT MAX(t) FROM validator_dashboard_data_epoch_max_ts") if err != nil { r(constants.Failure, map[string]string{"error": err.Error()}) return diff --git a/backend/pkg/monitoring/services/clickhouse_rollings.go b/backend/pkg/monitoring/services/clickhouse_rollings.go index f75fb6a44..6645437ac 100644 --- a/backend/pkg/monitoring/services/clickhouse_rollings.go +++ b/backend/pkg/monitoring/services/clickhouse_rollings.go @@ -71,7 +71,7 @@ func (s *ServiceClickhouseRollings) runChecks() { err := db.ClickHouseReader.GetContext(ctx, &tsEpochTable, ` SELECT max(t) - FROM view_validator_dashboard_data_epoch_max_ts`, + FROM validator_dashboard_data_epoch_max_ts`, ) if err != nil { r(constants.Failure, map[string]string{"error": err.Error()})