Delete duplicate code in schedule.go

Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
yanggang 2023-04-12 15:38:05 +08:00
parent 5f23f83587
commit a6173fad88
No known key found for this signature in database
GPG Key ID: 7F6E0CAD1556A240

View File

@ -293,7 +293,6 @@ func New(client clientset.Interface,
frameworkruntime.WithSnapshotSharedLister(snapshot),
frameworkruntime.WithCaptureProfile(frameworkruntime.CaptureProfile(options.frameworkCapturer)),
frameworkruntime.WithClusterEventMap(clusterEventMap),
frameworkruntime.WithClusterEventMap(clusterEventMap),
frameworkruntime.WithParallelism(int(options.parallelism)),
frameworkruntime.WithExtenders(extenders),
frameworkruntime.WithMetricsRecorder(metricsRecorder),