Skip to content

Commit

Permalink
fix package name
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Apr 7, 2023
1 parent f2f7957 commit bbf1cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/ingest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bbf1cf1

Please sign in to comment.