From ae074444f827190bdb9db892a008d29312131a70 Mon Sep 17 00:00:00 2001 From: Stefano Belforte Date: Mon, 29 Apr 2024 23:56:16 +0200 Subject: [PATCH] add warning comment text of reason string for migration alreadyQueued is looked for in CRAB Pubisher. Do not change w/o careful coordination, and only if absolutely needed. --- dbs/migrate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dbs/migrate.go b/dbs/migrate.go index 74371338..19baa944 100644 --- a/dbs/migrate.go +++ b/dbs/migrate.go @@ -578,6 +578,7 @@ func alreadyQueued(input string) error { return err } if mid != 0 { + // ATTENTION! Changing following string will break CRAB Publisher msg := fmt.Sprintf("migration request %s is already exist in DB with id=%d", input, mid) return errors.New(msg) }