From 7689c2a57064b29fc4c7bd118cfdd802d8cf067c Mon Sep 17 00:00:00 2001 From: kmetin Date: Thu, 2 Nov 2023 22:43:46 +0300 Subject: [PATCH] fix tests --- base/commands/migration/status_stages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/commands/migration/status_stages.go b/base/commands/migration/status_stages.go index c2236052..333d8d28 100644 --- a/base/commands/migration/status_stages.go +++ b/base/commands/migration/status_stages.go @@ -53,7 +53,7 @@ func (st *StatusStages) connectStage(ec plug.ExecContext) func(context.Context, func findMigrationInProgress(ctx context.Context, ci *hazelcast.ClientInternal) (MigrationInProgress, error) { var mip MigrationInProgress - q := fmt.Sprintf("SELECT this FROM %s WHERE JSON_VALUE(this, '$.status') IN('STARTED', 'IN_PROGRESS', 'CANCELLING')", StatusMapName) + q := fmt.Sprintf("SELECT this FROM %s WHERE JSON_VALUE(this, '$.status') IN('STARTED', 'IN_PROGRESS', 'CANCELING')", StatusMapName) r, err := querySingleRow(ctx, ci, q) if err != nil { return mip, fmt.Errorf("finding migration in progress: %w", err)