mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +00:00
Optimzed the code
This commit is contained in:
parent
5c99f3a24e
commit
76be319571
@ -355,9 +355,7 @@ func NewFramework(ctx context.Context, r Registry, profile *config.KubeScheduler
|
|||||||
options.captureProfile(outputProfile)
|
options.captureProfile(outputProfile)
|
||||||
}
|
}
|
||||||
|
|
||||||
m := *f.ListPlugins()
|
logger.V(2).Info("Plugins enabled and disabled at each extension point", "config.Plugins", *f.ListPlugins())
|
||||||
loggerV := logger.V(2)
|
|
||||||
loggerV.Info("Plugins", "config.Plugins", m)
|
|
||||||
|
|
||||||
f.setInstrumentedPlugins()
|
f.setInstrumentedPlugins()
|
||||||
return f, nil
|
return f, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user