From b143c38d8ecf23cd1959576d366cd89d5ccdc9d1 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Sat, 4 Mar 2023 00:27:04 +0100 Subject: [PATCH] Code cleanup, pt 2 Signed-off-by: Tim Vaillancourt --- go/vt/mysqlctl/builtinbackupengine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/mysqlctl/builtinbackupengine.go b/go/vt/mysqlctl/builtinbackupengine.go index fe33dea3f7e..4154fa1fe57 100644 --- a/go/vt/mysqlctl/builtinbackupengine.go +++ b/go/vt/mysqlctl/builtinbackupengine.go @@ -258,7 +258,7 @@ func (be *BuiltinBackupEngine) ExecuteBackup(ctx context.Context, params BackupP if err := ctx.Err(); err != nil { return usable, err } - status, err := params.Mysqld.ReplicationStatus(context.TODO()) + status, err := params.Mysqld.ReplicationStatus(ctx) if err != nil { return usable, err }