Delete duplicate code in schedule.go
Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
parent
5f23f83587
commit
a6173fad88
@ -293,7 +293,6 @@ func New(client clientset.Interface,
|
|||||||
frameworkruntime.WithSnapshotSharedLister(snapshot),
|
frameworkruntime.WithSnapshotSharedLister(snapshot),
|
||||||
frameworkruntime.WithCaptureProfile(frameworkruntime.CaptureProfile(options.frameworkCapturer)),
|
frameworkruntime.WithCaptureProfile(frameworkruntime.CaptureProfile(options.frameworkCapturer)),
|
||||||
frameworkruntime.WithClusterEventMap(clusterEventMap),
|
frameworkruntime.WithClusterEventMap(clusterEventMap),
|
||||||
frameworkruntime.WithClusterEventMap(clusterEventMap),
|
|
||||||
frameworkruntime.WithParallelism(int(options.parallelism)),
|
frameworkruntime.WithParallelism(int(options.parallelism)),
|
||||||
frameworkruntime.WithExtenders(extenders),
|
frameworkruntime.WithExtenders(extenders),
|
||||||
frameworkruntime.WithMetricsRecorder(metricsRecorder),
|
frameworkruntime.WithMetricsRecorder(metricsRecorder),
|
||||||
|
Loading…
Reference in New Issue
Block a user