From bbf1cf10ddc8a71b62c1bd93765cceb4f067597a Mon Sep 17 00:00:00 2001 From: lance6716 Date: Fri, 7 Apr 2023 16:42:03 +0800 Subject: [PATCH] fix package name Signed-off-by: lance6716 --- ddl/ingest/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddl/ingest/config.go b/ddl/ingest/config.go index 90a33a41532ce..f611369decae0 100644 --- a/ddl/ingest/config.go +++ b/ddl/ingest/config.go @@ -59,7 +59,7 @@ func generateLightningConfig(memRoot MemRoot, jobID int64, unique bool) (*config cfg.Security.CertPath = tidbCfg.Security.ClusterSSLCert cfg.Security.KeyPath = tidbCfg.Security.ClusterSSLKey // in DDL scenario, we don't switch import mode - cfg.Cron.SwitchMode = lightning.Duration{Duration: 0} + cfg.Cron.SwitchMode = config.Duration{Duration: 0} return cfg, err }