Skip to content

Commit

Permalink
view name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha-bitfly committed Dec 16, 2024
1 parent 7c6f12b commit 84f1b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/pkg/monitoring/services/clickhouse_epoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/pkg/monitoring/services/clickhouse_rollings.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()})
Expand Down

0 comments on commit 84f1b04

Please sign in to comment.