diff --git a/dm/checker/checker.go b/dm/checker/checker.go index 530e1c5fdf3..9f4ef5ecdf5 100644 --- a/dm/checker/checker.go +++ b/dm/checker/checker.go @@ -502,7 +502,6 @@ func (c *Checker) Init(ctx context.Context) (err error) { newLightningPrecheckAdaptor(targetInfoGetter, info), cpdb, pdClient, - targetDB, ) if _, ok := c.checkingItems[config.LightningFreeSpaceChecking]; ok {