diff --git a/scheduler/config/dynconfig.go b/scheduler/config/dynconfig.go index 8d4b67996..9d836f920 100644 --- a/scheduler/config/dynconfig.go +++ b/scheduler/config/dynconfig.go @@ -162,7 +162,7 @@ func (d *dynconfig) GetSchedulerClusterClientConfig() (types.SchedulerClusterCli return types.SchedulerClusterClientConfig{}, false } - if data.SchedulerCluster != nil { + if data.SchedulerCluster == nil { return types.SchedulerClusterClientConfig{}, false }