mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +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)
|
||||
}
|
||||
|
||||
m := *f.ListPlugins()
|
||||
loggerV := logger.V(2)
|
||||
loggerV.Info("Plugins", "config.Plugins", m)
|
||||
logger.V(2).Info("Plugins enabled and disabled at each extension point", "config.Plugins", *f.ListPlugins())
|
||||
|
||||
f.setInstrumentedPlugins()
|
||||
return f, nil
|
||||
|
Loading…
Reference in New Issue
Block a user