diff --git a/cmd/client_changefeed.go b/cmd/client_changefeed.go index 40a69da8988..7f4552e3efc 100644 --- a/cmd/client_changefeed.go +++ b/cmd/client_changefeed.go @@ -692,7 +692,7 @@ func newCreateChangefeedCyclicCommand() *cobra.Command { cfg := config.GetDefaultReplicaConfig() if len(configFile) > 0 { - if err := verifyReplicaConfig(serverConfigFilePath, "TiCDC server", cfg); err != nil { + if err := verifyReplicaConfig(configFile, "TiCDC changefeed", cfg); err != nil { return err } }