From d1483a4d980925bd3e333f5fe39e3f669b976b88 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Mon, 3 Jun 2024 17:46:51 +0000 Subject: [PATCH] [#1214] Apply 1 suggestion to 1 file --- .../59_delete_unused_interval_from_settings.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/server/database/migrations/59_delete_unused_interval_from_settings.go b/backend/server/database/migrations/59_delete_unused_interval_from_settings.go index 9de149d4a..28893f820 100644 --- a/backend/server/database/migrations/59_delete_unused_interval_from_settings.go +++ b/backend/server/database/migrations/59_delete_unused_interval_from_settings.go @@ -2,12 +2,12 @@ package dbmigs import "github.com/go-pg/migrations/v8" -// The migration deletes the unused interval from the settings table. The -// interval was used for the Prometheus metrics puller which has been removed. -// It seems to be safe to keep the interval in the settings table as it is not -// used anywhere else. But we are afraid that it may start be problematic in +// The migration deletes the unused interval from the setting table. The +// interval had been used for the Prometheus metrics puller which was removed. +// It seems to be safe to keep the interval in the setting table as it is not +// used anywhere else. But, we are afraid that it may start to be problematic in // the future if we refactor the setting table handling. It may produce some -// hard to find bugs affecting only the long term running systems. +// hard-to-find bugs affecting only the long term running systems. func init() { migrations.MustRegisterTx(func(db migrations.DB) error { _, err := db.Exec(`